Fiber::isRunning
(PHP 8 >= 8.1.0)
Fiber::isRunning — 确认 fiber 是否正在运行
说明
public Fiber::isRunning(): bool
参数
此函数没有参数。
返回值
仅在 fiber 运行时返回 true
。在调用 Fiber::start()、Fiber::resume()、
Fiber::throw() 还没有返回之后,将认为 fiber 正在运行。如果 fiber 没有运行则返回 false
。

User Contributed Notes
There are no user contributed notes for this page.