« EvIo::__construct
EvIo::set »

EvIo::createStopped

(PECL ev >= 0.2.0)

EvIo::createStopped — Create stopped EvIo watcher object

説明

final public static function EvIo::createStopped(
     mixed $fd ,
     int $events ,
     callable $callback ,
     mixed $data = null ,
     int $priority = 0
): EvIo

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

パラメータ

fd

The same as for EvIo::__construct()

events

The same as for EvIo::__construct()

callback

See Watcher callbacks.

data

Custom data associated with the watcher.

priority

Watcher priority

戻り値

Returns EvIo object on success.

参考

関連キーワード:
EvIo   watcher   construct   Create   stopped   createStopped   priority   mixed   events   callback   Watcher   associated   final   static   callable   doesn   start   automatically   callbacks   Custom   success   参考   Constructs   EvLoop   current
関連する関数・ページ:
evio.construct   evio.set   evloop.io   class.evio   evperiodic.createstopped   evidle.createstopped