Module Cancellation.SourceSource

Sourcetype t : value mod contended non_float portable

t is the type of cancellation token source that can be used to cause an associated token to become canceled.

Sourceval cancel : t @ local -> unit

cancel t makes any tokens associated with t canceled. It will signal the triggers for any linked tokens.