Task | Android Developers
developer.android.com › reference › comMar 03, 2021 · public abstract Task<ResultT> addOnCompleteListener (OnCompleteListener<ResultT> listener). Adds a listener that is called when the Task completes. The listener will be called on main application thread. If the Task is already complete, a call to the listener
task Class (Concurrency Runtime) | Microsoft Docs
docs.microsoft.com › concrt › referenceAug 03, 2021 · The Parallel Patterns Library (PPL) task class. A task object represents work that can be executed asynchronously and concurrently with other tasks and parallel work produced by parallel algorithms in the Concurrency Runtime. It produces a result of type _ResultType on successful completion. Tasks of type task<void> produce no result. A task ...