Swoole\Server::tick

(PECL swoole >= 1.9.0)

Swoole\Server::tickRepeats a given function at every given time-interval.

説明

public Swoole\Server::tick(int $interval_ms, callable $callback): void

パラメータ

interval_ms

callback

戻り値

関連キーワード:  Swoole, Server, given, interval, Repeats, function, every, time, callback, taskWaitMulti