Pudu programming language
Menu
API reference

Std.Concurrent.Cancel.cancel

1 declaration

fn

cancel: &Std.Concurrent.Cancel.Token -> Str -> Result[(), Std.Sync.SyncError]

Ask the work holding this token, and every child of it, to stop. The first reason given is kept; a later cancel changes nothing.

Back to Std.Concurrent.CancelSearch related declarations