Interface ISupportCancellation
Interface for the worker host to inform worker model of the token that would identify any cancellation requests.
Namespace: DNVGL.One.Compute.Core.Worker
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface ISupportCancellation
Methods
View SourceSetCancellationToken(CancellationToken)
Set the cancellation token.
Declaration
void SetCancellationToken(CancellationToken ct)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | ct | The cancellation token. |