EvLoop::prepare
(PECL ev >= 0.2.0)
EvLoop::prepare — Creates EvPrepare watcher object associated with the current event loop instance
Beschreibung
$callback
,
mixed
$data
= null
,
int
$priority
= 0
): EvPrepareCreates EvPrepare watcher object associated with the current event loop instance
Parameter-Liste
All parameters have the same maening as for EvPrepare()
Rückgabewerte
Returns EvPrepare object on success
Siehe auch
- EvPrepare::__construct() - Constructs EvPrepare watcher object