Skip to content

Commit

Permalink
- added method done
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey_pugach committed Aug 25, 2023
1 parent c38b827 commit 0920570
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,3 +435,7 @@ func (wc *WebSocketClient) Stop() {
_ = wc.conn.Close()
wc.wg.Wait()
}

func (wc *WebSocketClient) Done() <-chan struct{} {
return wc.done
}

0 comments on commit 0920570

Please sign in to comment.