Fiber::isRunning

(PHP 8 >= 8.1.0)

Fiber::isRunningDetermines if the fiber is running

Опис

public Fiber::isRunning(): bool

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

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. Return false if the fiber is not running.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top