Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Kraken
Loop
LoopInterface
onTick
Kraken\Loop\LoopInterface::onTick PHP Method
LoopInterface Interface Documentation
ファイルを表示
Open project: kraken-php/framework
onTick()
public
method
Callbacks are guaranteed to be executed in the order they are enqueued. This method is an alias for onAfterTick() method.
public
onTick
(
callable
$listener
)
$listener
callable
public function onTick(callable $listener);
LoopInterface
addPeriodicTimer
addReadStream
addTimer
addWriteStream
cancelTimer
isRunning
isTimerActive
onAfterTick
onBeforeTick
onStart
onStop
onTick
removeReadStream
removeStream
removeWriteStream