Sdílet prostřednictvím


CompletableFuture.AllOf(CompletableFuture[]) Method

Definition

Returns a new CompletableFuture that is completed when all of the given CompletableFutures complete.

[Android.Runtime.Register("allOf", "([Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;", "", ApiSince=24)]
public static Java.Util.Concurrent.CompletableFuture? AllOf (params Java.Util.Concurrent.CompletableFuture[]? cfs);
[<Android.Runtime.Register("allOf", "([Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture;", "", ApiSince=24)>]
static member AllOf : Java.Util.Concurrent.CompletableFuture[] -> Java.Util.Concurrent.CompletableFuture

Parameters

cfs
CompletableFuture[]

the CompletableFutures

Returns

a new CompletableFuture that is completed when all of the given CompletableFutures complete

Attributes

Remarks

Java documentation for java.util.concurrent.CompletableFuture.allOf(java.util.concurrent.CompletableFuture).

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