mirror of
https://github.com/sourcegraph/jsonrpc2.git
synced 2026-06-16 04:04:56 +02:00
typo in AsyncHandler docstring
This commit is contained in:
parent
3a7c446248
commit
b02337b177
1 changed files with 2 additions and 2 deletions
4
async.go
4
async.go
|
|
@ -2,8 +2,8 @@ package jsonrpc2
|
||||||
|
|
||||||
import "context"
|
import "context"
|
||||||
|
|
||||||
// AsyncHandler wraps a Handler such that it each request is handled in its
|
// AsyncHandler wraps a Handler such that each request is handled in its own
|
||||||
// own goroutine. It is a convenience wrapper.
|
// goroutine. It is a convenience wrapper.
|
||||||
func AsyncHandler(h Handler) Handler {
|
func AsyncHandler(h Handler) Handler {
|
||||||
return asyncHandler{h}
|
return asyncHandler{h}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue