Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class TaskExtensions

Extension methods to the Task and ValueTask classes.

Inheritance
object
TaskExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Client.Transactions
Assembly: Couchbase.NetClient.dll
Syntax
public static class TaskExtensions

Methods

View Source

CAF(Task)

Declaration
public static ConfiguredTaskAwaitable CAF(this Task awaitable)
Parameters
Type Name Description
Task awaitable
Returns
Type Description
ConfiguredTaskAwaitable
View Source

CAF(ValueTask)

Declaration
public static ConfiguredValueTaskAwaitable CAF(this ValueTask awaitable)
Parameters
Type Name Description
ValueTask awaitable
Returns
Type Description
ConfiguredValueTaskAwaitable
View Source

CAF<T>(Task<T>)

Declaration
public static ConfiguredTaskAwaitable<T> CAF<T>(this Task<T> awaitable)
Parameters
Type Name Description
Task<T> awaitable
Returns
Type Description
ConfiguredTaskAwaitable<T>
Type Parameters
Name Description
T
View Source

CAF<T>(ValueTask<T>)

Declaration
public static ConfiguredValueTaskAwaitable<T> CAF<T>(this ValueTask<T> awaitable)
Parameters
Type Name Description
ValueTask<T> awaitable
Returns
Type Description
ConfiguredValueTaskAwaitable<T>
Type Parameters
Name Description
T
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.