Swoole\Timer::set
(No version information available, might only be in Git)
Swoole\Timer::set — Set timer-related parameters
Description
Sets the options used by the timers of the current process.
Warning
This method was deprecated in Swoole 4.6.0 and removed in Swoole 6.0.0. Use swoole_async_set() instead.
Parameters
settings
An associative array of options. Only enable_coroutine
is recognised: when set to false, the timer callbacks are executed
directly instead of inside a newly created coroutine.
Return Values
No value is returned.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
