[This is preliminary documentation and is subject to change.]
A general-purpose task scheduler.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.1 (0.6.3.1)
Syntax
| C# |
public static class Scheduler
Members
| All Members | 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. |