Swoole\Client
PHP Manual

Swoole\Client::sleep

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Client::sleepRemove the TCP client from system event loop.

Description

public void Swoole\Client::sleep ( void )

Remove the TCP client from system event loop.

Parameters

This function has no parameters.

Return Values


Swoole\Client
PHP Manual