Skip to main content

Module cancellation

Module cancellation 

Source

Functionsยง

current_tool_cancellation
Retrieve the currently scoped cancellation token, if any.
with_tool_cancellation
Run the provided future with the supplied cancellation token made available to tools.