IInterruptionTokenSource

IInterruptionTokenSource interface

Represents the source of IInterruptionToken.

public interface IInterruptionTokenSource

Properties

NameDescription
IsInterruptionRequested { get; }Returns true if interruption requested, false otherwise.
Token { get; }Returns new token binded to this IInterruptionTokenSource.

Methods

NameDescription
Interrupt()Intialize request for interruption.

See Also