ThreadPoolCancellationTokenSource
Namespace: MBrace.ThreadPool
Cloud cancellation token source implementation that wraps around System.Threading.CancellationTokenSource
Constructors
Constructor | Description |
new()
Signature: unit -> ThreadPoolCancellationTokenSource
|
CompiledName: |
new(cts)
Signature: cts:CancellationTokenSource -> ThreadPoolCancellationTokenSource
|
CompiledName: |
Instance members
Instance member | Description |
Cancel()
Signature: unit -> unit
|
Trigger cancelation for the cts |
LocalCancellationTokenSource
Signature: CancellationTokenSource
|
Local System.Threading.CancellationTokenSource instance CompiledName: |
Token
Signature: ThreadPoolCancellationToken
|
InMemoryCancellationToken instance CompiledName: |
Static members
Static member | Description |
CreateCancellationTokenSource(parents)
Signature: (parents:ICloudCancellationToken []) -> ThreadPoolCancellationTokenSource
|
Creates a local linked cancellation token source from provided parent tokens |