CloudCancellationToken
Namespace: MBrace.Runtime
Distributed ICloudCancellationToken[Source] implementation
Instance members
Instance member | Description |
Cancel()
Signature: unit -> unit
|
Cancel cancellation token |
CancellationEntry
Signature: ICancellationEntry option
|
Gets the corresponding cancellation entry, if applicable CompiledName: |
ElevateToGlobal()
Signature: unit -> bool
|
Elevates cancellation token to global scope. Returns true if succesful, false if already canceled. |
GlobalId
Signature: string option
|
Elevated cancellation token id CompiledName: |
IsCancellationRequested
Signature: bool
|
CompiledName: |
LocalToken
Signature: CancellationToken
|
System.Threading.Token for distributed cancellation token CompiledName: |
Static members
Static member | Description |
Canceled
Signature: CloudCancellationToken
|
Creates a CancellationEntry that has been canceled. CompiledName: |
Create(source, parents, elevate)
Signature: (source:ICancellationEntryFactory * parents:ICloudCancellationToken [] option * elevate:bool option) -> Async<CloudCancellationToken>
|
Creates a distributed cancellation token source with lazy elevation to distributed cancellation semantics. |
FromEntry(entry)
Signature: entry:ICancellationEntry -> CloudCancellationToken
|
Wraps a CancellationEntry instance into a new CloudCancellationToken |