EvLoop::idle

(PECL ev >= 0.2.0)

EvLoop::idleCreates EvIdle watcher object associated with the current event loop instance

说明

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

Creates EvIdle watcher object associated with the current event loop instance

参数

All the parameters have the same meaning as for EvIdle::__construct()

返回值

Returns EvIdle object on success.

参见

相关文章
php set creates a new set using values from the current instance and another setphp set creates a new set using values in either the current instance or in another set but not in bothphp eventbufferevent closes file descriptor associated with the 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 creates evsignal watcher object associated with the current event loop instancephp evloop creates evstat watcher object associated with the current event loop instancephp evloop stops the event loopphp evloop creates evtimer watcher object associated with the current event loop instancephp hyperwave api 函数 creates a new instance of class hwapi object new
关注编程学问公众号