Struct ManualResetCompletionSource.ExpectedToken
Represents the expected version of ValueTaskCompletionSource or ValueTaskCompletionSource<T> instance previously obtained with Reset() method.
Implements
Inherited Members
Namespace: DotNext.Threading.Tasks
Assembly: DotNext.Threading.dll
Syntax
public readonly ref struct ManualResetCompletionSource.ExpectedToken : ManualResetCompletionSource.ICompletionOptions
Constructors
View SourceExpectedToken(short)
Represents the expected version of ValueTaskCompletionSource or ValueTaskCompletionSource<T> instance previously obtained with Reset() method.
Declaration
public ExpectedToken(short token)
Parameters
| Type | Name | Description |
|---|---|---|
| short | token | The expected token. |