Php/docs/swoole-channel.pop

From Get docs

Swoole\Channel::pop

(PECL swoole >= 1.9.0)

Swoole\Channel::popRead and pop data from swoole channel.


Description

public Swoole\Channel::pop ( ) : mixed

Parameters

This function has no parameters.


Return Values

If the channel is empty, the function will return false, or return the unserialized data.