Show / Hide Table of Contents

Struct TaskSchedulerAwaitable

Represents an awaitable object that switches the asynchronous method to the specified task scheduler.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: DotNext.Runtime.CompilerServices
Assembly: DotNext.Threading.dll
Syntax
public readonly struct TaskSchedulerAwaitable

Methods

View Source

GetAwaiter()

Gets the awaiter of this object.

Declaration
public TaskSchedulerAwaitable.Awaiter GetAwaiter()
Returns
Type Description
TaskSchedulerAwaitable.Awaiter

The awaiter of this object.

Extension Methods

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