mirror of
https://github.com/sourcegraph/jsonrpc2.git
synced 2026-06-16 04:04:56 +02:00
DispatchCall was added in #41 but is missing in the public interface.
This commit is contained in:
parent
366fbb5207
commit
547856e09e
1 changed files with 3 additions and 0 deletions
|
|
@ -23,6 +23,9 @@ type JSONRPC2 interface {
|
|||
// Call issues a standard request (http://www.jsonrpc.org/specification#request_object).
|
||||
Call(ctx context.Context, method string, params, result interface{}, opt ...CallOption) error
|
||||
|
||||
// DispatchCall is like Call but does not wait for the result.
|
||||
DispatchCall(ctx context.Context, method string, params interface{}, opts ...CallOption) (Waiter, error)
|
||||
|
||||
// Notify issues a notification request (http://www.jsonrpc.org/specification#notification).
|
||||
Notify(ctx context.Context, method string, params interface{}, opt ...CallOption) error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue