EvLoop::prepare
EvLoop::prepare
(PECL ev >= 0.2.0)
EvLoop::prepare — Creates EvPrepare watcher object associated with the current event loop instance
Description
final public EvPrepare EvLoop::prepare ( callable $callback [, mixed $data = NULL [, int $priority = 0 ]] )
Creates EvPrepare watcher object associated with the current event loop instance
Parameters
All parameters have the same maening as for EvPrepare()
Return Values
Returns EvPrepare object on success
See Also
- EvPrepare::__construct() - Constructs EvPrepare watcher object
← EvLoop::periodic
EvLoop::resume →
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.