Empeld
Empeld plugin documentation.
|
Public Member Functions | |
IScheduledTask | ScheduleTask (ITask task) |
Schedules the task. More... | |
void | RemoveTask (IScheduledTask task) |
Removes the task. More... | |
void | InvokeSync (Action task) |
Invoke the specified delegate in the main process thread If we're already in the main process thread, it will be invoked immediately If not, it will be invoked next time the task schedule processes events More... | |
void | QueueAsync (Action task) |
Queues an action to be excuted async within the thread pool ONLY USE IF YOU KNOW WHAT YOUR DOING More... | |
Properties | |
int | Count [get] |
Gets the number of active tasks More... | |
Attribute: Injectable
void pluginbase.Objects.Tasks.ITaskScheduler.InvokeSync | ( | Action | task | ) |
Invoke the specified delegate in the main process thread If we're already in the main process thread, it will be invoked immediately If not, it will be invoked next time the task schedule processes events
task | action. |
Attribute: ThreadSafe
void pluginbase.Objects.Tasks.ITaskScheduler.QueueAsync | ( | Action | task | ) |
Queues an action to be excuted async within the thread pool ONLY USE IF YOU KNOW WHAT YOUR DOING
task | Action. |
Attribute: ThreadSafe
void pluginbase.Objects.Tasks.ITaskScheduler.RemoveTask | ( | IScheduledTask | task | ) |
Removes the task.
task | Task. |
Attribute: ThreadSafe
IScheduledTask pluginbase.Objects.Tasks.ITaskScheduler.ScheduleTask | ( | ITask | task | ) |
Schedules the task.
task | Task. |
Attribute: ThreadSafe
|
get |
Gets the number of active tasks
The count.
Attribute: ThreadSafe