Stop dispatching events

(PECL event >= 1.2.6-beta)

EventBase::exitStop dispatching events


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

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

Список параметров


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

Возвращаемые значения

Returns TRUE on success. Otherwise FALSE.

Смотрите также