CompletableFuture.CompletedFuture(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a new CompletableFuture that is already completed with the given value.
[Android.Runtime.Register("completedFuture", "(Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture;", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "U" })]
public static Java.Util.Concurrent.CompletableFuture? CompletedFuture (Java.Lang.Object? value);
[<Android.Runtime.Register("completedFuture", "(Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture;", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "U" })>]
static member CompletedFuture : Java.Lang.Object -> Java.Util.Concurrent.CompletableFuture
Parameters
- value
- Object
the value
Returns
the completed CompletableFuture
- Attributes
Remarks
Returns a new CompletableFuture that is already completed with the given value.
Java documentation for java.util.concurrent.CompletableFuture.completedFuture(U)
.
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.