Version

CheckAndPotentiallyWaitOnTasks Method

Checks the status of the current tasks, and if possible, yields until changes occur to the active tasks or the worker settings.
Syntax
protected virtual int CheckAndPotentiallyWaitOnTasks( 
   AsyncDataSourcePageRequest[] currentTasks
)

Parameters

currentTasks
The current active tasks.

Return Value

The index of a completed task to process, or -1 if no task is ready and yielding until a task completed wasn't possible or desired.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also