Swoole\Coroutine::yield()

Declaration

<?php
Swoole\Coroutine::yield()

Parameters

Return

Description

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

Example