phasync\idle()
function
Documentation
Pause the coroutine until there are no coroutines that will run immediately, effectively waiting until the entire application is waiting for IO operations or timers to complete.
Signature
function idle(?float $timeout = NULL): void
Parameters
| Name | Type | Default |
|---|---|---|
$timeout
|
?float |
NULL
|
Returns
void