EvLoop::run

EvLoop::run

(PECL ev >= 0.2.0)

EvLoop::runBegin checking for events and calling callbacks for the loop

Description

public void EvLoop::run ([  int $flags  = 0  ] )

Begin checking for events and calling callbacks for the current event loop. Returns when a callback calls Ev::stop() method, or the flags are nonzero(in which case the return value is true) or when there are no active watchers which reference the loop( EvWatcher::keepalive() is