mirror of https://bitbucket.org/ausocean/av.git
protocol/rtcp/client.go: added comment for Err() regarding usage.
This commit is contained in:
parent
e00c959a84
commit
7fe5e74123
|
@ -127,7 +127,8 @@ func (c *Client) Stop() {
|
|||
c.wg.Wait()
|
||||
}
|
||||
|
||||
// Err provides read access to the Client err channel.
|
||||
// Err provides read access to the Client err channel. This must be checked
|
||||
// otherwise the client will block if an error encountered.
|
||||
func (c *Client) Err() <-chan error {
|
||||
return c.err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue