- Notifications
You must be signed in to change notification settings - Fork79
Open
Description
We code that uses timeout options, but these APIs were designed back before context.Context existed.
It would be good to introduce APIs like
RecvContext() and RecvMsgContext() that took a context as their first argument. Arguably, the former receive functions could then be implemented in terms of these. We would then deprecate the legacy options.
This would also potentially provide a nice API for cancellation.
Metadata
Metadata
Assignees
Labels
No labels