We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 020667c commit 6f6e82eCopy full SHA for 6f6e82e
jsonrpc2.go
@@ -25,8 +25,6 @@ type Interface interface {
25
Cancel(id ID)
26
27
Run(ctx context.Context) error
28
-
29
- Wait(ctx context.Context) error
30
}
31
32
// Handler is an option you can pass to NewConn to handle incoming requests.
@@ -413,9 +411,6 @@ func (c *Conn) Run(ctx context.Context) error {
413
411
414
412
415
416
-// Wait blocks until the connection is terminated, and returns any error that cause the termination.
417
-func (c *Conn) Wait(ctx context.Context) error { return nil }
418
419
// Direction is used to indicate to a logger whether the logged message was being
420
// sent or received.
421
type Direction bool
0 commit comments