go-perun
go-perun copied to clipboard
Provide context to Client.Handle
Currently, Client.Handle returns only if the underlying connection returns an error. I think it would be convenient if the Handle method is provided with a Context so that the user is assured that the method returns once the context is done.
The function also returns after the client was closed. Do you still think an additional context is needed?