Swoole\Timer::tick

Repeats a given function at every given time-interval.

Description

public static void Swoole\Timer::tick(int $interval_ms, callable $callback, string $param = ?)

Parameters

interval_ms

callback

param

Return Values