EvFork::createStopped

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

The same as EvFork::__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 EvFork(stopped) object on success.

See also:

EvFork::__construct() -

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

Please login to continue.