<?php
Swoole\Timer->set ( array $settings )
if success, it returns TRUE, otherwise it returns FALSE.
Set the runtime settings of the Timer. The settings can be accessed by $timer->setting
.
<?php
$timer->set(array(
'enable_coroutine' => TRUE
));