[This is preliminary documentation and is subject to change.]
Methods
| Member | Description | |
|---|---|---|
| NewBackgroundTask(SchedulerCallback) | Creates a new SchedulerTask object to run in the background thread.
Use this if your task is not very time-sensitive or frequent, or if your callback is resource-intensive. | |
| NewBackgroundTask(SchedulerCallback, Object) | Creates a new SchedulerTask object to run in the background thread.
Use this if your task is not very time-sensitive or frequent, or if your callback is resource-intensive. | |
| NewTask(SchedulerCallback) | Creates a new SchedulerTask object to run in the main thread.
Use this if your task is time-sensitive or frequent, and your callback won't take too long to execute. | |
| NewTask(SchedulerCallback, Object) | Creates a new SchedulerTask object to run in the main thread.
Use this if your task is time-sensitive or frequent, and your callback won't take too long to execute. |