CountedCompleter.TryComplete 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 the pending count is nonzero, decrements the count;
otherwise invokes #onCompletion(CountedCompleter)
and then similarly tries to complete this task's completer,
if one exists, else marks this task as complete.
[Android.Runtime.Register("tryComplete", "()V", "", ApiSince=24)]
public void TryComplete ();
[<Android.Runtime.Register("tryComplete", "()V", "", ApiSince=24)>]
member this.TryComplete : unit -> unit
- Attributes
Remarks
If the pending count is nonzero, decrements the count; otherwise invokes #onCompletion(CountedCompleter)
and then similarly tries to complete this task's completer, if one exists, else marks this task as complete.
Java documentation for java.util.concurrent.CountedCompleter.tryComplete()
.
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.