Skip to main content

cancellable

Attribute Macro cancellable 

Source
#[cancellable]
Expand description

Mark an async fn as cancellable: it takes a weaveffi::CancelToken as its final parameter, and cancelling the token completes the call with the cancelled code.