Class Cancellable
Creates instances of Cancellable<T> type.
public static class Cancellable
- Inheritance
-
Cancellable
- Inherited Members
Methods
Create<T>(T, CancellationToken)
Creates a Cancellable<T> instance.
[Pure]
public static Cancellable<T> Create<T>(T value, CancellationToken token)
Parameters
value
TValue to assign.
token
CancellationTokenCancellationToken to assign.
Returns
- Cancellable<T>
A Cancellable<T> instance.
Type Parameters
T
Value's type.