« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 29 for remaining (0.002 sec.)
The EvTimer class 11518
« EvStat::stat EvTimer::again » PHP Manual Ev The EvTimer class 検索 The EvTimer class (PECL ev >= 0.2.0) はじめに EvTimer watchers are simple relative timers that generate an event after a given time, and optionally repeating in regular in ... an once per event loop iteration. クラス概要 class EvTimer extends EvWatcher { /* プロパティ */ public $ repeat ; public $ remaining ; /* 継承したプロパティ */ public $ is_active ; public $ data ; public $ is_pending ; public $ priority ; /* メソッド */ p ... tive, then the timer will automatically be configured to trigger again every repeat seconds later, until stopped manually. remaining Returns the remaining time until a timer fires. If the timer is active, then this time is relative to the current event lo ... t value currently configured. That is, after instantiating an EvTimer with an after value of 5.0 and repeat value of 7.0 , remaining returns 5.0 . When the timer is started and one second passes, remaining will return 4.0 . When the timer expires and is r ...
https://man.mtool.work/php/8.3/class.evtimer.html
The EvTimer class 11518
« EvStat::stat EvTimer::again » PHP Manual Ev The EvTimer class 検索 The EvTimer class (PECL ev >= 0.2.0) はじめに EvTimer watchers are simple relative timers that generate an event after a given time, and optionally repeating in regular in ... an once per event loop iteration. クラス概要 class EvTimer extends EvWatcher { /* プロパティ */ public $ repeat ; public $ remaining ; /* 継承したプロパティ */ public $ is_active ; public $ data ; public $ is_pending ; public $ priority ; /* メソッド */ p ... tive, then the timer will automatically be configured to trigger again every repeat seconds later, until stopped manually. remaining Returns the remaining time until a timer fires. If the timer is active, then this time is relative to the current event lo ... t value currently configured. That is, after instantiating an EvTimer with an after value of 5.0 and repeat value of 7.0 , remaining returns 5.0 . When the timer is started and one second passes, remaining will return 4.0 . When the timer expires and is r ...
https://man.mtool.work/php/8.3/class.evtimer.html
Collect references to completed tasks 11029
« Worker Worker::getStacked » PHP Manual Worker Collect references to completed tasks 検索 Worker::collect (PECL pthreads >= 3.0.0) Worker::collect — Collect references to completed tasks 説明 public function Worker::collect ( Callable $col ... ether the task can be collected or not. Only in rare cases should a custom collector need to be used. 戻り値 The number of remaining tasks on the worker's stack to be collected. 例 例1 A basic example of Worker::collect() <?php $worker = new Worker (); ec ... 0 ; $i < 15 ; ++ $i ) { $worker -> stack (new class extends Threaded {}); } echo "There are { $worker -> collect ()} tasks remaining on the stack to be collected\n" ; $worker -> start (); while ( $worker -> collect ()); // blocks until all tasks have fini ... -> shutdown (); 上の例の出力は以下となります。 There are currently 0 tasks on the stack to be collected There are 15 tasks remaining on the stack to be collected There are now 0 tasks on the stack to be collected 関連キーワード: tasks worker collect Worke ...
https://man.mtool.work/php/8.3/worker.collect.html
Collect references to completed tasks 11029
« Worker Worker::getStacked » PHP Manual Worker Collect references to completed tasks 検索 Worker::collect (PECL pthreads >= 3.0.0) Worker::collect — Collect references to completed tasks 説明 public function Worker::collect ( Callable $col ... ether the task can be collected or not. Only in rare cases should a custom collector need to be used. 戻り値 The number of remaining tasks on the worker's stack to be collected. 例 例1 A basic example of Worker::collect() <?php $worker = new Worker (); ec ... 0 ; $i < 15 ; ++ $i ) { $worker -> stack (new class extends Threaded {}); } echo "There are { $worker -> collect ()} tasks remaining on the stack to be collected\n" ; $worker -> start (); while ( $worker -> collect ()); // blocks until all tasks have fini ... -> shutdown (); 上の例の出力は以下となります。 There are currently 0 tasks on the stack to be collected There are 15 tasks remaining on the stack to be collected There are now 0 tasks on the stack to be collected 関連キーワード: tasks worker collect Worke ...
https://man.mtool.work/php/8.3/worker.collect.html
Gets the remaining stack size 10425
« Worker::collect Worker::isShutdown » PHP Manual Worker Gets the remaining stack size 検索 Worker::getStacked (PECL pthreads >= 2.0.0) Worker::getStacked — Gets the remaining stack size 説明 public function Worker::getStacked (): int Retur ... ks\n" ; 上の例の出力は以下となります。 There are 5 stacked tasks 関連キーワード: Worker stack getStacked tasks worker Gets remaining size Returns number パラメータ new There stacked collect Search isShutdown pthreads function int ...
https://man.mtool.work/php/8.3/worker.getstacked.html
Gets the remaining stack size 10425
« Worker::collect Worker::isShutdown » PHP Manual Worker Gets the remaining stack size 検索 Worker::getStacked (PECL pthreads >= 2.0.0) Worker::getStacked — Gets the remaining stack size 説明 public function Worker::getStacked (): int Retur ... ks\n" ; 上の例の出力は以下となります。 There are 5 stacked tasks 関連キーワード: Worker stack getStacked tasks worker Gets remaining size number There stacked collect isShutdown pthreads left currently waiting executed example extends Threaded ...
https://man.mtool.work/php/8.3/worker.getstacked.html
Polling 9332
« parallel\Events::remove parallel\Events\Input » PHP Manual parallel\Events Polling 検索 parallel\Events::poll (0.9.0) parallel\Events::poll — Polling 説明 public function parallel\Events::poll (): ? parallel\Events\Event Shall poll for th ... e next event 戻り値 Should there be no targets remaining, null shall be returned Should this be a non-blocking loop, and blocking would occur, null shall be returned Otherwise, th ... ード: parallel Events poll Polling returned Event event null blocking remove Search Input function next 戻り値 there targets remaining non loop ...
https://man.mtool.work/php/8.3/parallel-events.poll.html
Polling 9332
« parallel\Events::remove parallel\Events\Input » PHP Manual parallel\Events Polling 検索 parallel\Events::poll (0.9.0) parallel\Events::poll — Polling 説明 public function parallel\Events::poll (): ? parallel\Events\Event Shall poll for th ... e next event 戻り値 Should there be no targets remaining, null shall be returned Should this be a non-blocking loop, and blocking would occur, null shall be returned Otherwise, th ... ed and reached. 関連キーワード: parallel Events poll Polling returned Event event blocking remove Input next there targets remaining loop occur Otherwise describes Exceptions throw Timeout timeout used reached ...
https://man.mtool.work/php/8.3/parallel-events.poll.html
Call a callback given by the first parameter 9234
« Swoole\Coroutine Swoole\Coroutine::call_user_func_array » PHP Manual Swoole\Coroutine Call a callback given by the first parameter 検索 Swoole\Coroutine::call_user_func (PECL swoole >= 2.0.0) Swoole\Coroutine::call_user_func — Call a call ... ll_user_func ( callable $callback , mixed ...$args ): mixed Calls the callback given by the first parameter and passes the remaining parameters as arguments. パラメータ callback The callable to be called. args Zero or more parameters to be passed to the c ... lback Swoole Coroutine given first parameter call user func Call callable mixed args parameters swoole static Calls passes remaining arguments called more passed ...
https://man.mtool.work/php/8.3/swoole-coroutine.call-user-func.html
Call a callback given by the first parameter 7831
« Swoole\Coroutine Swoole\Coroutine::call_user_func_array » PHP Manual Swoole\Coroutine Call a callback given by the first parameter 検索 Swoole\Coroutine::call_user_func (PECL swoole >= 2.0.0) Swoole\Coroutine::call_user_func — Call a call ... ll_user_func ( callable $callback , mixed ...$args ): mixed Calls the callback given by the first parameter and passes the remaining parameters as arguments. パラメータ callback The callable to be called. args Zero or more parameters to be passed to the c ...
https://man.mtool.work/php/8.3/swoole-coroutine.call-user-func.html
PREV 1 2 3 NEXT