Swoole\Server::tick

Repeats a given function at every given time-interval.

Description

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

Parameters

interval_ms

callback

Return Values