Swoole\Timer::set

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

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

Açıklama

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

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

Uyarı

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

Bağımsız Değişkenler

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.

Dönen Değerler

Hiçbir değer dönmez.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top