GoLang Swoole\Timer::after

request it (54)
GoLang replacement for PHP's Swoole\Timer::after [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Timer::after? Write it!

PHP Swoole\Timer::after

PHP original manual for Swoole\Timer::after [ show | php.net ]

Swoole\Timer::after

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Timer::afterTrigger a callback function after a period of time.

Description

public static void Swoole\Timer::after ( int $after_time_ms , callable $callback )

Trigger a callback function after a period of time.

Parameters

after_time_ms

callback

Return Values