go-perun icon indicating copy to clipboard operation
go-perun copied to clipboard

Provide context to Client.Handle

Open matthiasgeihs opened this issue 4 years ago • 1 comments

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.

matthiasgeihs avatar May 14 '21 09:05 matthiasgeihs

The function also returns after the client was closed. Do you still think an additional context is needed?

ggwpez avatar May 16 '21 16:05 ggwpez