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 map creates a new map using keys of either the current instance or of another map but not of bothphp eventbufferevent returns underlying input buffer associated with current buffer eventphp eventbufferevent returns underlying output buffer associated with current buffer eventphp 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 resume previously suspended default event loopphp 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 watcher
关注编程学问公众号