CompletableFuture.NewIncompleteFuture 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 incomplete CompletableFuture of the type to be returned by a CompletionStage method.
[Android.Runtime.Register("newIncompleteFuture", "()Ljava/util/concurrent/CompletableFuture;", "GetNewIncompleteFutureHandler", ApiSince=31)]
[Java.Interop.JavaTypeParameters(new System.String[] { "U" })]
public virtual Java.Util.Concurrent.ICompletionStage? NewIncompleteFuture ();
[<Android.Runtime.Register("newIncompleteFuture", "()Ljava/util/concurrent/CompletableFuture;", "GetNewIncompleteFutureHandler", ApiSince=31)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "U" })>]
abstract member NewIncompleteFuture : unit -> Java.Util.Concurrent.ICompletionStage
override this.NewIncompleteFuture : unit -> Java.Util.Concurrent.ICompletionStage
Returns
a new CompletableFuture
- Attributes
Remarks
Returns a new incomplete CompletableFuture of the type to be returned by a CompletionStage method. Subclasses should normally override this method to return an instance of the same class as this CompletableFuture. The default implementation returns an instance of class CompletableFuture.
Added in 9.
Java documentation for java.util.concurrent.CompletableFuture.newIncompleteFuture()
.
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.