Interface IMainThreadCoroutineCommandHandler
Interface for basic handler of main thread commands.
Namespace: InsaneScatterbrain.Threading
Syntax
public interface IMainThreadCoroutineCommandHandler
Methods
Queue(IMainThreadCoroutineCommand, Boolean)
Declaration
void Queue(IMainThreadCoroutineCommand command, bool waitForCompletion = true)
Parameters
Type | Name | Description |
---|---|---|
IMainThreadCoroutineCommand | command | |
System.Boolean | waitForCompletion |
UpdateCoroutine()
Executes all queued commands on the main thread. If they're done, they are removed from the queue.
Declaration
IEnumerator UpdateCoroutine()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |