php / 8.1.5 / fiber.issuspended.html /

Fiber::isSuspended

(PHP 8 >= 8.1.0)

Fiber::isSuspendedDetermines if the fiber is suspended

Description

public Fiber::isSuspended(): bool

Parameters

This function has no parameters.

Return Values

Returns true if the fiber is currently suspended; otherwise false is returned.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/fiber.issuspended.php