Merge pull request #153 from klihub/fixes/UserOnCloseWait-comment

Fix grammar in comment for UserOnCloseWait.
This commit is contained in:
Fu Wei
2023-08-08 06:12:19 +08:00
committed by GitHub

View File

@@ -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 {