Метод | Описание | |
---|---|---|
CancelTasks ( object tag ) : void |
Removes tasks associated with a give callback
|
|
Enqueue ( Func |
Add task to the idle time queue. Tasks are executed asynchronously in the order they were added. On next idle time if thread is available it will take task from the head of the queue and execute it. There may be one or more tasks running in parallel depending on number of CPUs avaialable.
|
|
Enqueue ( Func |
Add task to the idle time queue. Tasks are executed asynchronously in the order they were added. On next idle time if thread is available it will take task from the head of the queue and execute it. There may be one or more tasks running in parallel depending on number of CPUs avaialable.
|
|
IdleTimeAsyncTaskQueue ( IEditorShell shell ) : System | ||
IncreasePriority ( object tag ) : void |
Метод | Описание | |
---|---|---|
ConnectToIdle ( ) : void | ||
DisconnectFromIdle ( ) : void | ||
GetAvailableTask ( object tag, |
||
OnIdle ( object sender, |
public Enqueue ( Func |
||
taskAction | Func |
|
callbackAction | Action |
|
cancelAction | Action |
|
tag | object | |
Результат | void |
public Enqueue ( Func |
||
taskAction | Func |
|
callbackAction | Action |
|
tag | object | |
Результат | void |
public IdleTimeAsyncTaskQueue ( IEditorShell shell ) : System | ||
shell | IEditorShell | |
Результат | System |
public IncreasePriority ( object tag ) : void | ||
tag | object | |
Результат | void |