Swoole\Runtime::enableCoroutine

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

Swoole\Runtime::enableCoroutineEnable coroutine for specified functions

Description

public static Swoole\Runtime::enableCoroutine(int $flags = SWOOLE_HOOK_ALL): void

This method enables coroutine support for specified PHP functions based on the given flags. It should be called once at the beginning of the application.

Return Values

No value is returned.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top