EvLoop::prepare

(PECL ev >= 0.2.0)

EvLoop::prepareCreates EvPrepare watcher object associated with the current event loop instance

说明

final public EvLoop::prepare ( callable $callback [, mixed $data = NULL [, int $priority = 0 ]] ) : EvPrepare

Creates EvPrepare watcher object associated with the current event loop instance

参数

All parameters have the same maening as for EvPrepare()

返回值

Returns EvPrepare object on success

参见

相关文章
php hashable determines whether an object is equal to the current instancephp eventbufferevent closes file descriptor associated with the current buffer eventphp eventlistener creates new connection listener associated with an event basephp evidle creates instance of a stopped evidle watcher objectphp evloop creates evcheck object associated with the current event loop instancephp evloop creates evchild object associated with the current event loopphp evloop constructs the event loop objectphp evloop returns or creates the default event loopphp evloop creates an instance of evembed watcher associated with the current evloop objectphp evloop creates evfork watcher object associated with the current event loop instancephp evloop creates evidle watcher object associated with the current event loop instancephp evloop create evio watcher object associated with the current event loop instancephp evloop returns the current event loop time php evloop creates evperiodic watcher object associated with the current event loop instancephp evloop creates evprepare watcher object associated with the current event loop instancephp evloop creates evsignal watcher object associated with the current event loop instancephp evloop creates evstat watcher object associated with the current event loop instancephp evloop creates evtimer watcher object associated with the current event loop instancephp evprepare creates a stopped instance of evprepare watcherphp evtimer creates evtimer stopped watcher object
关注编程学问公众号