Show / Hide Table of Contents

Enum AsyncLambdaFlags

Represents flags controlling dynamic compilation of asynchronous lambda expression.

Namespace: DotNext.Metaprogramming
Assembly: DotNext.Metaprogramming.dll
Syntax
[Flags]
public enum AsyncLambdaFlags

Fields

Name Description
None

No special behavior must be applied.

UseTaskPooling

Use task pooling instead of memory allocation.

UseValueTask

The returned type of the asynchronous lambda expression must be represented by ValueTask or ValueTask<TResult> instead of Task or Task<TResult>.

Extension Methods

BasicExtensions.IsBetween<AsyncLambdaFlags, TLowerBound, TUpperBound>(AsyncLambdaFlags, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<AsyncLambdaFlags>(AsyncLambdaFlags, ReadOnlySpan<AsyncLambdaFlags>)
Collection.ToAsyncEnumerator<AsyncLambdaFlags, T>(AsyncLambdaFlags, CancellationToken)
Collection.ToClassicEnumerator<AsyncLambdaFlags, T>(AsyncLambdaFlags)
Enumerator.Skip<AsyncLambdaFlags, T>(ref AsyncLambdaFlags, int)
ExpressionBuilder.Const<AsyncLambdaFlags>(AsyncLambdaFlags)
EnumType.GetCustomAttribute<AsyncLambdaFlags, TAttribute>(AsyncLambdaFlags)
EnumType.GetCustomAttributes<AsyncLambdaFlags, TAttribute>(AsyncLambdaFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾