Merge pull request #153 from klihub/fixes/UserOnCloseWait-comment
Fix grammar in comment for UserOnCloseWait.
This commit is contained in:
commit
b2f0adabbf
@ -286,7 +286,7 @@ func (c *Client) Close() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// UserOnCloseWait is used to blocks untils the user's on-close callback
|
// UserOnCloseWait is used to block until the user's on-close callback
|
||||||
// finishes.
|
// finishes.
|
||||||
func (c *Client) UserOnCloseWait(ctx context.Context) error {
|
func (c *Client) UserOnCloseWait(ctx context.Context) error {
|
||||||
select {
|
select {
|
||||||
|
Loading…
Reference in New Issue
Block a user