event_add

event_add

(PECL libevent >= 0.0.1)

event_addAdd an event to the set of monitored events

Description

bool event_add ( resource $event [, int $timeout = -1 ] )

event_add() schedules the execution of the event when the event specified in event_set() occurs or in at least the time specified by the timeout argument. If timeout was not specified, not timeout is