Skip to content

proposal: context: new method WithCallbackOnCancel(...) #57325

@halturin

Description

@halturin

It would be great to have context.WithCallbackOnCancel(...) in order to get rid of goroutine usage to read the canceling channel.
Is there any chance to see it in the near future?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions