« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 40 for EvPeriodic (0.001 sec.)
Create a stopped EvPeriodic watcher 10313
« EvPeriodic::__construct EvPeriodic::set » PHP Manual EvPeriodic Create a stopped EvPeriodic watcher 検索 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 $callback , mixed $data = null , int ... $priority = 0 ): EvPeriodic Create EvPeriodic object. Unlike EvPeriodic::__construct() this method doesn't start the watcher automatically. パラメータ ... es 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() ...
https://man.mtool.work/php/8.3/evperiodic.createstopped.html
Create a stopped EvPeriodic watcher 10281
« EvPeriodic::__construct EvPeriodic::set » PHP Manual EvPeriodic Create a stopped EvPeriodic watcher 検索 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 $callback , mixed $data = null , int ... $priority = 0 ): EvPeriodic Create EvPeriodic object. Unlike EvPeriodic::__construct() this method doesn't start the watcher automatically. パラメータ ... es 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() ...
https://man.mtool.work/php/8.3/evperiodic.createstopped.html
Constructs EvPeriodic watcher object 10110
« EvPeriodic::at EvPeriodic::createStopped » PHP Manual EvPeriodic Constructs EvPeriodic watcher object 検索 EvPeriodic::__construct (PECL ev >= 0.2.0) EvPeriodic::__construct — Constructs EvPeriodic watcher object 説明 public function EvPeriodic ... et , 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. パラメータ ... ck each 10.5 seconds function reschedule_cb ( $watcher , $now ) { return $now + ( 10.5 - fmod ( $now , 10.5 )); } $w = new EvPeriodic ( 0. , 0. , "reschedule_cb" , function ( $w , $revents ) { echo time (), PHP_EOL ; }); Ev :: run (); ?> 例2 Periodic timer ... . Tick every 10.5 seconds starting at now <?php // Tick every 10.5 seconds starting at now $w = new EvPeriodic ( fmod ( Ev :: now (), 10.5 ), 10.5 , NULL , function ( $w , $revents ) { echo time (), PHP_EOL ; }); Ev :: run (); ?> 例3 ...
https://man.mtool.work/php/8.3/evperiodic.construct.html
Constructs EvPeriodic watcher object 10110
« EvPeriodic::at EvPeriodic::createStopped » PHP Manual EvPeriodic Constructs EvPeriodic watcher object 検索 EvPeriodic::__construct (PECL ev >= 0.2.0) EvPeriodic::__construct — Constructs EvPeriodic watcher object 説明 public function EvPeriodic ... et , 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. パラメータ ... ck each 10.5 seconds function reschedule_cb ( $watcher , $now ) { return $now + ( 10.5 - fmod ( $now , 10.5 )); } $w = new EvPeriodic ( 0. , 0. , "reschedule_cb" , function ( $w , $revents ) { echo time (), PHP_EOL ; }); Ev :: run (); ?> 例2 Periodic timer ... . Tick every 10.5 seconds starting at now <?php // Tick every 10.5 seconds starting at now $w = new EvPeriodic ( fmod ( Ev :: now (), 10.5 ), 10.5 , NULL , function ( $w , $revents ) { echo time (), PHP_EOL ; }); Ev :: run (); ?> 例3 ...
https://man.mtool.work/php/8.3/evperiodic.construct.html
The EvPeriodic class 9969
« EvLoop::verify EvPeriodic::again » PHP Manual Ev The EvPeriodic class 検索 The EvPeriodic class (PECL ev >= 0.2.0) はじめに Periodic watchers are also timers of a kind, but they are very versatile. Unlike EvTimer , EvPeriodic watchers are ... is that wall clock time can run faster or slower than real time, and time jumps are not uncommon(e.g. when adjusting it). EvPeriodic watcher can be configured to trigger after some specific point in time. For example, if an EvPeriodic watcher is configure ... with later time-out values (but this is no longer true when a callback calls EvLoop::run() recursively). クラス概要 class EvPeriodic extends EvWatcher { /* プロパティ */ public $ offset ; public $ interval ; /* 継承したプロパティ */ public $ is_active ; p ... float $offset , float $interval , callable $reschedule_cb , callable $callback , mixed $data = null , int $priority = 0 ): EvPeriodic public function set ( float $offset , float $interval ): void /* 継承したメソッド */ public function EvWatcher::clear (): ...
https://man.mtool.work/php/8.3/class.evperiodic.html
The EvPeriodic class 9969
« EvLoop::verify EvPeriodic::again » PHP Manual Ev The EvPeriodic class 検索 The EvPeriodic class (PECL ev >= 0.2.0) はじめに Periodic watchers are also timers of a kind, but they are very versatile. Unlike EvTimer , EvPeriodic watchers are ... is that wall clock time can run faster or slower than real time, and time jumps are not uncommon(e.g. when adjusting it). EvPeriodic watcher can be configured to trigger after some specific point in time. For example, if an EvPeriodic watcher is configure ... with later time-out values (but this is no longer true when a callback calls EvLoop::run() recursively). クラス概要 class EvPeriodic extends EvWatcher { /* プロパティ */ public $ offset ; public $ interval ; /* 継承したプロパティ */ public $ is_active ; p ... float $offset , float $interval , callable $reschedule_cb , callable $callback , mixed $data = null , int $priority = 0 ): EvPeriodic public function set ( float $offset , float $interval ): void /* 継承したメソッド */ public function EvWatcher::clear (): ...
https://man.mtool.work/php/8.3/class.evperiodic.html
Configures the watcher 9860
« EvPeriodic::createStopped EvPrepare » PHP Manual EvPeriodic Configures the watcher 検索 EvPeriodic::set (PECL ev >= 0.2.0) EvPeriodic::set — Configures the watcher 説明 public function EvPeriodic::set ( float $offset , float $interval ): ... void (Re-)Configures EvPeriodic watcher パラメータ offset The same meaning as for EvPeriodic::__construct() . See Periodic watcher operation modes interva ... l The same meaning as for EvPeriodic::__construct() . See Periodic watcher operation modes 戻り値 値を返しません。 関連キーワード: EvPeriodic watcher Configure ...
https://man.mtool.work/php/8.3/evperiodic.set.html
Configures the watcher 9829
« EvPeriodic::createStopped EvPrepare » PHP Manual EvPeriodic Configures the watcher 検索 EvPeriodic::set (PECL ev >= 0.2.0) EvPeriodic::set — Configures the watcher 説明 public function EvPeriodic::set ( float $offset , float $interval ): ... void (Re-)Configures EvPeriodic watcher パラメータ offset The same meaning as for EvPeriodic::__construct() . See Periodic watcher operation modes interva ... l The same meaning as for EvPeriodic::__construct() . See Periodic watcher operation modes 戻り値 値を返しません。 関連キーワード: EvPeriodic watcher Configure ...
https://man.mtool.work/php/8.3/evperiodic.set.html
Creates EvPeriodic watcher object associated with the current 9766
« EvLoop::nowUpdate EvLoop::prepare » PHP Manual EvLoop Creates EvPeriodic watcher object associated with the current event loop instance 検索 EvLoop::periodic (PECL ev >= 0.2.0) EvLoop::periodic — Creates EvPeriodic watcher object associat ... nction EvLoop::periodic ( float $offset , float $interval , callable $callback , mixed $data = null , int $priority = 0 ): EvPeriodic Creates EvPeriodic watcher object associated with the current event loop instance パラメータ All parameters have the same ... meaning as for EvPeriodic::__construct() 戻り値 Returns EvPeriodic object on success. 参考 EvPeriodic::__construct() - Constructs EvPeriodic watcher ... object 関連キーワード: EvPeriodic object EvLoop watcher Creates associated current event loop instance periodic float construct nowUpdate Search prepare ev ...
https://man.mtool.work/php/8.3/evloop.periodic.html
Creates EvPeriodic watcher object associated with the current 9766
« EvLoop::nowUpdate EvLoop::prepare » PHP Manual EvLoop Creates EvPeriodic watcher object associated with the current event loop instance 検索 EvLoop::periodic (PECL ev >= 0.2.0) EvLoop::periodic — Creates EvPeriodic watcher object associat ... nction EvLoop::periodic ( float $offset , float $interval , callable $callback , mixed $data = null , int $priority = 0 ): EvPeriodic Creates EvPeriodic watcher object associated with the current event loop instance パラメータ All parameters have the same ... meaning as for EvPeriodic::__construct() 戻り値 Returns EvPeriodic object on success. 参考 EvPeriodic::__construct() - Constructs EvPeriodic watcher ... object 関連キーワード: EvPeriodic EvLoop watcher Creates associated current event loop instance periodic float construct nowUpdate prepare final offset inte ...
https://man.mtool.work/php/8.3/evloop.periodic.html
PREV 1 2 3 4 NEXT