sleep
Description:
Yield the coroutine for a specified duration.
Signature:
sleep: function(duration?: number)
Parameters:
Parameter | Type | Description |
---|---|---|
duration | number | [optional] The duration to yield for, in seconds. If nil, the coroutine will be yielded for one frame. |