PHP 8.4.2 Released!

Event::pending

(PECL event >= 1.2.6-beta)

Event::pendingDetects whether event is pending or scheduled

说明

public Event::pending( int $flags ): bool

Detects whether event is pending or scheduled

参数

flags

One of, or a composition of the following constants: Event::READ , Event::WRITE , Event::TIMEOUT , Event::SIGNAL .

返回值

Returns true if event is pending or scheduled. Otherwise false.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top