Fiber::suspend
(PHP 8 >= 8.1.0)
Fiber::suspend — Suspends execution of the current fiber
Description
When the fiber is resumed, this method returns the value provided to Fiber::resume().
If the fiber is resumed using Fiber::throw(), the exception given to that method will be
thrown from the call to this method.
If this method is called from outside a fiber, a FiberError will be thrown.