threadLoop
Description:
Create a new coroutine from a function that runs repeatedly.
Signature:
threadLoop: function(routine: function(): boolean): Routine.Job
Parameters:
Parameter | Type | Description |
---|---|---|
routine | function | A function to execute repeatedly as a coroutine. |
Returns:
Return Type | Description |
---|---|
Routine.Job | A handle to the coroutine that was created. |