CountedCompleter.FirstComplete 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.
If this task's pending count is zero, returns this task;
otherwise decrements its pending count and returns null
.
[Android.Runtime.Register("firstComplete", "()Ljava/util/concurrent/CountedCompleter;", "", ApiSince=24)]
public Java.Util.Concurrent.CountedCompleter? FirstComplete ();
[<Android.Runtime.Register("firstComplete", "()Ljava/util/concurrent/CountedCompleter;", "", ApiSince=24)>]
member this.FirstComplete : unit -> Java.Util.Concurrent.CountedCompleter
Returns
this task, if pending count was zero, else null
- Attributes
Remarks
If this task's pending count is zero, returns this task; otherwise decrements its pending count and returns null
. This method is designed to be used with #nextComplete
in completion traversal loops.
Java documentation for java.util.concurrent.CountedCompleter.firstComplete()
.
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.