« EvIdle::__construct
EvIo »

EvIdle::createStopped

(PECL ev >= 0.2.0)

EvIdle::createStopped — Creates instance of a stopped EvIdle watcher object

説明

final public static function EvIdle::createStopped( string $callback , mixed $data = ?, int $priority = ?): object

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

パラメータ

callback

See Watcher callbacks.

data

Custom data associated with the watcher.

priority

Watcher priority

戻り値

Returns EvIdle object on success.

参考

関連キーワード:
EvIdle   watcher   Creates   instance   stopped   construct   createStopped   priority   callback   Watcher   associated   EvIo   final   static   mixed   doesn   start   automatically   callbacks   Custom   success   参考   Constructs   EvLoop   idle
関連する関数・ページ:
evidle.construct   evloop.idle   class.evidle   evio.createstopped   book.ev   evio.construct