Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
ConnectToIdle ( ) : void | ||
DisconnectFromIdle ( ) : void | ||
GetAvailableTask ( object tag, |
||
OnIdle ( object sender, |
public Enqueue ( Func |
||
taskAction | Func |
|
callbackAction | Action |
|
cancelAction | Action |
|
tag | object | |
return | void |
public Enqueue ( Func |
||
taskAction | Func |
|
callbackAction | Action |
|
tag | object | |
return | void |
public IdleTimeAsyncTaskQueue ( IEditorShell shell ) : System | ||
shell | IEditorShell | |
return | System |
public IncreasePriority ( object tag ) : void | ||
tag | object | |
return | void |