EvFork::__construct

(PECL ev >= 0.2.0)
Constructs the EvFork watcher object
public EvFork::__construct ( callable $callback [, mixed $data = NULL [, int $priority = 0 ]] )

Constructs the EvFork watcher object and starts the watcher automatically.

Parameters:
callback

See Watcher callbacks .

data

Custom data associated with the watcher.

priority

Watcher priority

Returns:

Returns EvFork object on success.

See also:

EvLoop::fork() -

EvCheck -

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

Please login to continue.