EvIdle::createStopped

(PECL ev >= 0.2.0)
Creates instance of a stopped EvIdle watcher object
final public static object EvIdle::createStopped ( string $callback [, mixed $data [, int $priority ]] )

The same as EvIdle::__construct() , but doesn't start the watcher automatically.

Parameters:
callback

See Watcher callbacks .

data

Custom data associated with the watcher.

priority

Watcher priority

Returns:

Returns EvIdle object on success.

See also:

EvIdle::__construct() -

EvLoop::idle() -

doc_php
2016-02-24 16:04:54
Comments
Leave a Comment

Please login to continue.