Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
pluginbase.Objects.Tasks.ITaskScheduler Interface Reference

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 on next-run in thread. Good for invoking within a thread More...
 
void QueueAsync (Action task)
 Queues an action to be excuted in-sync within the thread pool More...
 

Properties

int Count [get]
 Gets the number of active tasks More...
 

Detailed Description

Attribute: Injectable

Member Function Documentation

void pluginbase.Objects.Tasks.ITaskScheduler.InvokeSync ( Action  task)

Invoke the specified delegate on next-run in thread. Good for invoking within a thread

Parameters
taskaction.
void pluginbase.Objects.Tasks.ITaskScheduler.QueueAsync ( Action  task)

Queues an action to be excuted in-sync within the thread pool

Parameters
taskAction.
void pluginbase.Objects.Tasks.ITaskScheduler.RemoveTask ( IScheduledTask  task)

Removes the task.

Parameters
taskTask.
IScheduledTask pluginbase.Objects.Tasks.ITaskScheduler.ScheduleTask ( ITask  task)

Schedules the task.

Parameters
taskTask.

Property Documentation

int pluginbase.Objects.Tasks.ITaskScheduler.Count
get

Gets the number of active tasks

The count.


The documentation for this interface was generated from the following file: