Swoole\Coroutine::suspend()

Declaration

<?php
Swoole\Coroutine::suspend()

Parameters

Return

Description

Yield from the current coroutine and release the CPU to other coroutines.

Example