Pudu programming language
Menu
API reference

Std.Concurrent.Cancel.reason

1 declaration

fn

reason: &Std.Concurrent.Cancel.Token -> Option[Std.Concurrent.Cancel.Reason]

Why the token fired, or None while it has not. An ancestor's reason is reported before the token's own, and a passed deadline after both.

Back to Std.Concurrent.CancelSearch related declarations