Fiber::getCurrent
(PHP 8 >= 8.1.0)
Fiber::getCurrent — Gets the currently executing Fiber instance
Опис
public static Fiber::getCurrent():
?Fiber
Параметри
У цієї функції немає
параметрів.
Значення, що повертаються
Returns the currently executing Fiber instance or null
if this method is called from
outside a fiber.