Swoole Swoole\Timer::after
(PECL swoole >= 1.9.0)
Swoole\Timer::after — 일정 시간 후에 콜백 함수를 트리거합니다.
설명
public static Swoole\Timer::after(int $after_time_ms
, callable $callback
): void
일정 시간 후에 콜백 함수를 트리거합니다.
매개변수
after_time_ms
callback
(PECL swoole >= 1.9.0)
Swoole\Timer::after — 일정 시간 후에 콜백 함수를 트리거합니다.
public static Swoole\Timer::after(int $after_time_ms
, callable $callback
): void
일정 시간 후에 콜백 함수를 트리거합니다.
after_time_ms
callback