Php/docs/eventbase.exit

提供:Dev Guides
< Php
移動先:案内検索

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.


参考