Swoole\Channel::pop

(PECL swoole >= 1.9.0)

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

說明

public Swoole\Channel::pop(): mixed

參數

此函數沒有參數。

返回值

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