Table of Contents

Class Cancellable

Namespace
LfrlAnvil.Async
Assembly
LfrlAnvil.Core.dll

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 T

Value to assign.

token CancellationToken

CancellationToken to assign.

Returns

Cancellable<T>

A Cancellable<T> instance.

Type Parameters

T

Value's type.