Fiber::isRunning
PHP function
Edit on GitHub ✎
(PHP 8 >= 8.1.0)
Determines if the fiber is running
Description
Fiber::isRunning(): bool
Parameters Parameters
Return Values
Returns true only if the fiber is running. A fiber is considered running after a call to Fiber::start, Fiber::resume, or Fiber::throw that has not yet returned. Returns false if the fiber is not running.