public static ConfiguredTaskAwaitable ConfigureAwait(this IFuture @this, bool continueOnCapturedContext) => @this.AsTask().ConfigureAwait(continueOnCapturedContext);
public static TaskAwaiter GetAwaiter(this IFuture @this) => @this.AsTask().GetAwaiter();
public static Task AsTask(this IFuture future, CancellationToken token = default(CancellationToken)) { return(future.AsTask <Java.Lang.Object> (token)); }
public static TaskAwaiter <T> GetAwaiter <T>(this IFuture <T> @this) => @this.AsTask().GetAwaiter();
public static Task <Java.Lang.Object?> AsTask(this IFuture future, CancellationToken cancellationToken = default) => future.AsTask <Java.Lang.Object>(cancellationToken);