Show / Hide Table of Contents

Struct ManualResetCompletionSource.ExpectedToken

Represents the expected version of ValueTaskCompletionSource or ValueTaskCompletionSource<T> instance previously obtained with Reset() method.

Implements
ManualResetCompletionSource.ICompletionOptions
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: DotNext.Threading.Tasks
Assembly: DotNext.Threading.dll
Syntax
public readonly ref struct ManualResetCompletionSource.ExpectedToken : ManualResetCompletionSource.ICompletionOptions

Constructors

View Source

ExpectedToken(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.

Implements

ManualResetCompletionSource.ICompletionOptions

Extension Methods

BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
Enumerator.Skip<TEnumerator, T>(ref TEnumerator, int)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾