天天看點

php libev 主動發送,PHP - Manual: Ev (官方文檔)

EvLoop::backend — Returns an integer describing the backend used by libev

EvLoop::check — Creates EvCheck object associated with the current event loop

instance

EvLoop::child — Creates EvChild object associated with the current event loop

EvLoop::__construct — Constructs the event loop object

EvLoop::defaultLoop — Returns or creates the default event loop

EvLoop::embed — Creates an instance of EvEmbed watcher associated

with the current EvLoop object

EvLoop::fork — Creates EvFork watcher object associated with the current event

loop instance

EvLoop::idle — Creates EvIdle watcher object associated with the current event

loop instance

EvLoop::invokePending — Invoke all pending watchers while resetting their pending state

EvLoop::io — Create EvIo watcher object associated with the current event

loop instance

EvLoop::loopFork — Must be called after a fork

EvLoop::now — Returns the current "event loop time"

EvLoop::nowUpdate — Establishes the current time by querying the kernel, updating the time

returned by EvLoop::now in the progress

EvLoop::periodic — Creates EvPeriodic watcher object associated with the current

event loop instance

EvLoop::prepare — Creates EvPrepare watcher object associated with the current

event loop instance

EvLoop::resume — Resume previously suspended default event loop

EvLoop::run — Begin checking for events and calling callbacks for the loop

EvLoop::signal — Creates EvSignal watcher object associated with the current

event loop instance

EvLoop::stat — Creates EvStat watcher object associated with the current event

loop instance

EvLoop::stop — Stops the event loop

EvLoop::suspend — Suspend the loop

EvLoop::timer — Creates EvTimer watcher object associated with the current event

loop instance

EvLoop::verify — Performs internal consistency checks(for debugging)