Skip to content

Commit

Permalink
Update Callback comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Sep 23, 2021
1 parent 69a19b0 commit c257879
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,9 @@ func (s *Server) Notify(ctx context.Context, method string, params interface{})
}

// Callback posts a single server-side call to the client. It blocks until a
// reply is received or the client connection terminates. A successful
// callback reports a nil error and a non-nil response. Errors returned by the
// client have concrete type *jrpc2.Error.
// reply is received, ctx ends, or the client connection terminates. A
// successful callback reports a nil error and a non-nil response. Errors
// returned by the client have concrete type *jrpc2.Error.
//
// This is a non-standard extension of JSON-RPC, and may not be supported by
// all clients. If you are not sure whether the client supports push calls, you
Expand Down

0 comments on commit c257879

Please sign in to comment.