« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 75 for Watcher (0.001 sec.)
Ev | PHP 8.3 10461
Ev はじめに この拡張モジュールは、 » libev ライブラリへのインターフェイスを提供します。 このライブラリは、C で書かれたハイパフォーマンスで高機能なイベントループです。 注意 : この拡張モジュールは Windows 環境では利用できません。 Libev はイベ ... d — 停止した EvFork ウォッチャーのインスタンスを作る EvIdle — The EvIdle class EvIdle::__construct — Constructs the EvIdle watcher object EvIdle::createStopped — Creates instance of a stopped EvIdle watcher object EvIo — The EvIo class EvIo::__construct ... — Constructs EvIo watcher object EvIo::createStopped — Create stopped EvIo watcher object EvIo::set — Configures the watcher EvLoop — The EvLoop cla ... loop object EvLoop::defaultLoop — Returns or creates the default event loop EvLoop::embed — Creates an instance of EvEmbed watcher associated with the current EvLoop object EvLoop::fork — Creates EvFork watcher object associated with the current event l ...
https://man.mtool.work/php/8.3/book.ev.html
EvPeriodic::createStopped — Create a stopped EvPeriodic watcher | PHP 8.3 10016
EvPeriodic::createStopped (PECL ev >= 0.2.0) EvPeriodic::createStopped — Create a stopped EvPeriodic watcher 説明 final public static function EvPeriodic::createStopped ( float $offset , float $interval , callable $reschedule_cb , callable ... , int $priority = 0 ): EvPeriodic Create EvPeriodic object. Unlike EvPeriodic::__construct() this method doesn't start the watcher automatically. パラメータ offset See Periodic watcher operation modes interval See Periodic watcher operation modes resche ... dule_cb Reschedule callback. You can pass null . See Periodic watcher operation modes callback See Watcher callbacks . data Custom data associated with the watcher. priority Watcher priority 戻 ... り値 Returns EvPeriodic watcher object on success. 参考 EvPeriodic::__construct() - Constructs EvPeriodic watcher object EvTimer::createStopped() - Create ...
https://man.mtool.work/php/8.3/evperiodic.createstopped.html
EvPeriodic::__construct — Constructs EvPeriodic watcher object | PHP 8.3 9947
EvPeriodic::__construct (PECL ev >= 0.2.0) EvPeriodic::__construct — Constructs EvPeriodic watcher object 説明 public function EvPeriodic::__construct ( float $offset , string $interval , callable $reschedule_cb , callable $callback , mixed ... $data = null , int $priority = 0 ) Constructs EvPeriodic watcher object and starts it automatically. EvPeriodic::createStopped() method creates stopped periodic watcher. パラメータ offset ... See Periodic watcher operation modes interval See Periodic watcher operation modes reschedule_cb Reschedule callback. You can pass null . See P ... eriodic watcher operation modes callback See Watcher callbacks . data Custom data associated with the watcher. priority Watcher priority 例 ...
https://man.mtool.work/php/8.3/evperiodic.construct.html
EvIdle::__construct — Constructs the EvIdle watcher object | PHP 8.3 9752
EvIdle::__construct (PECL ev >= 0.2.0) EvIdle::__construct — Constructs the EvIdle watcher object 説明 public function EvIdle::__construct ( callable $callback , mixed $data = ? , int $priority = ? ) Constructs the EvIdle watcher object and ... starts the watcher automatically. パラメータ callback See Watcher callbacks . data Custom data associated with the watcher. priority Watcher ... priority 参考 EvIdle::createStopped() - Creates instance of a stopped EvIdle watcher object EvLoop::idle() - Creates EvIdle watcher object associated with the current event loop instance 他のマニュアルの関連 ...
https://man.mtool.work/php/8.3/evidle.construct.html
EvWatcher::keepalive — Configures whether to keep the loop from returning | PHP... 9752
EvWatcher::keepalive (PECL ev >= 0.2.0) EvWatcher::keepalive — Configures whether to keep the loop from returning 説明 public function EvWatcher::keepalive ( bool $value = ? ): bool Configures whether to keep the loop from returning. With k ... eepalive value set to false the watcher won't keep Ev::run() / EvLoop::run() from returning even though the watcher is active. Watchers have keepalive value true ... by default. Clearing keepalive status is useful when returning from Ev::run() / EvLoop::run() just because of the watcher is undesirable. It could be a long running UDP socket watcher or so. パラメータ value With keepalive value set to false th ... e watcher won't keep Ev::run() / EvLoop::run() from returning even though the watcher is active. 戻り値 Returns the previous state. ...
https://man.mtool.work/php/8.3/evwatcher.keepalive.html
EvSignal::__construct — Constructs EvSignal watcher object | PHP 8.3 9683
EvSignal::__construct (PECL ev >= 0.2.0) EvSignal::__construct — Constructs EvSignal watcher object 説明 public function EvSignal::__construct ( int $signum , callable $callback , mixed $data = null , int $priority = 0 ) Constructs EvSignal ... watcher object and starts it automatically. For a stopped signal watcher consider using EvSignal::createStopped() method. パラメー ... タ signum Signal number. See constants exported by pcntl extension. See also signal(7) man page. callback See Watcher callbacks . data Custom data associated with the watcher. priority Watcher priority 例 例1 Handle SIGTERM signal <?php $w ... = new EvSignal ( SIGTERM , function ( $watcher ) { echo "SIGTERM received\n" ; $watcher -> stop (); }); Ev :: run (); ?> 参考 EvSignal::createStopped() - Create stopped ...
https://man.mtool.work/php/8.3/evsignal.construct.html
The EvWatcher class | PHP 8.3 9572
The EvWatcher class (PECL ev >= 0.2.0) はじめに EvWatcher is a base class for all watchers( EvCheck , EvChild etc.). Since EvWatcher 's constructor is abstract , one can't(and don't need to) create EvWatcher objects directly. クラス概要 abs ... tract class EvWatcher { /* プロパティ */ public $ is_active ; public $ data ; public $ is_pending ; public $ priority ; /* メソッド */ abstract ... allback ): void public function start (): void public function stop (): void } プロパティ is_active Readonly . true if the watcher is active. false otherwise. data User custom data associated with the watcher is_pending Readonly . true if the watcher is ... pending, i.e. it has outstanding events, but its callback has not yet been invoked. false otherwise. As long, as a watcher is pending(but not active), one must not change its priority. priority int between Ev::MINPRI and Ev::MAXPRI . Pending wat ...
https://man.mtool.work/php/8.3/class.evwatcher.html
EvIo::__construct — Constructs EvIo watcher object | PHP 8.3 9461
EvIo::__construct (PECL ev >= 0.2.0) EvIo::__construct — Constructs EvIo watcher object 説明 public function EvIo::__construct ( mixed $fd , int $events , callable $callback , mixed $data = ? , int $priority = ? ) Constructs EvIo watcher ob ... ject and starts the watcher automatically. パラメータ fd Can be a stream opened with fopen() or similar functions, numeric file descriptor, or socket. ... events Ev::READ and/or Ev::WRITE . See the bit masks . callback See Watcher callbacks . data Custom data associated with the watcher. priority Watcher priority 参考 EvIo::createStopped() - Create st ... opped EvIo watcher object EvLoop::io() - Create EvIo watcher object associated with the current event loop instance 他のマニュアルの関連ページ ...
https://man.mtool.work/php/8.3/evio.construct.html
EvStat::createStopped — Create a stopped EvStat watcher object | PHP 8.3 9433
EvStat::createStopped (PECL ev >= 0.2.0) EvStat::createStopped — Create a stopped EvStat watcher object 説明 final public static function EvStat::createStopped ( string $path , float $interval , callable $callback , mixed $data = null , int ... $priority = 0 ): void Creates EvStat watcher object, but doesn't start it automatically(unlike EvStat::__construct() ). パラメータ path The path to wait for status cha ... ange is expected to be detected and should normally be specified as 0.0 to let libev choose a suitable value. callback See Watcher callbacks . data Custom data associated with the watcher. priority Watcher priority 戻り値 Returns a stopped EvStat watche ... r object on success. 参考 EvStat::__construct() - Constructs EvStat watcher object EvWatcher::start() - Starts the watcher ...
https://man.mtool.work/php/8.3/evstat.createstopped.html
EvSignal::createStopped — Create stopped EvSignal watcher object | PHP 8.3 9349
EvSignal::createStopped (PECL ev >= 0.2.0) EvSignal::createStopped — Create stopped EvSignal watcher object 説明 final public static function EvSignal::createStopped ( int $signum , callable $callback , mixed $data = null , int $priority = ... 0 ): EvSignal Create stopped EvSignal watcher object. Unlike EvSignal::__construct() , this method doesn't start the watcher automatically. パラメータ signum Signal num ... ber. See constants exported by pcntl extension. See also signal(7) man page. callback See Watcher callbacks . data Custom data associated with the watcher. priority Watcher priority 戻り値 Returns EvSignal object on succ ... ess. 参考 EvWatcher::start() - Starts the watcher EvSignal::__construct() - Constructs EvSignal watcher object 他のマニュアルの関連ページ Linu ...
https://man.mtool.work/php/8.3/evsignal.createstopped.html
PREV 1 2 3 4 5 6 7 8 NEXT