Php/docs/eventbase.exit

提供:Dev Guides
< Php
2020年12月14日 (月) 11:45時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

EventBase::exit

(PECL event >= 1.2.6-beta)

EventBase::exitStop dispatching events


説明

public EventBase::exit ([ float $timeout ] ) : bool

Tells event base to stop optionally after given number of seconds.


パラメータ

timeout
Optional number of seconds after which the event base should stop dispatching events.


返り値

Returns true on success. Otherwise false.


参考