« Swoole\Timer::list
Swoole\Timer::stats »

Swoole\Timer::set

(No version information available, might only be in Git)

Swoole\Timer::set — Set timer-related parameters

説明

public static function Swoole\Timer::set(array $settings): void

Sets the options used by the timers of the current process.

警告

This method was deprecated in Swoole 4.6.0 and removed in Swoole 6.0.0. Use swoole_async_set() instead.

パラメータ

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.

戻り値

値を返しません。

関連キーワード:
Swoole   Timer   timer   related   parameters   settings   options   instead   coroutine   list   stats   information   available   static   Sets   used   timers   current   process   method   deprecated   removed   swoole   async   associative
関連する関数・ページ:
swoole-timer.clear   swoole-timer.stats   swoole-timer.list   swoole-timer.exists   swoole-timer.info   swoole-timer.after