Fiber::resume
(PHP 8 >= 8.1.0)
Fiber::resume — 使用值恢复 fiber 的执行
参数
-
value
-
恢复 fiber 的值。这个值将会从当前调用 Fiber::suspend() 中返回。
返回值
如果 fiber 已返回,将是 null
;否则就是下次调用 Fiber::suspend() 时提供的值。
如果 fiber 暂停前抛出一个异常,它将会从调用本方法时的位置抛出异常。

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