Dela via


IFutureExtensions.GetAsync Method

Definition

Overloads

GetAsync(IFuture)
GetAsync(IFuture, Int64, TimeUnit)

GetAsync(IFuture)

public static System.Threading.Tasks.Task<Java.Lang.Object?> GetAsync (this Java.Util.Concurrent.IFuture self);
static member GetAsync : Java.Util.Concurrent.IFuture -> System.Threading.Tasks.Task<Java.Lang.Object>

Parameters

self
IFuture

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetAsync(IFuture, Int64, TimeUnit)

public static System.Threading.Tasks.Task<Java.Lang.Object?> GetAsync (this Java.Util.Concurrent.IFuture self, long timeout, Java.Util.Concurrent.TimeUnit? unit);
static member GetAsync : Java.Util.Concurrent.IFuture * int64 * Java.Util.Concurrent.TimeUnit -> System.Threading.Tasks.Task<Java.Lang.Object>

Parameters

self
IFuture
timeout
Int64
unit
TimeUnit

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to