Swoole\Channel::pop

(PECL swoole >= 1.9.0)

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

說(shuō)明

public Swoole\Channel::pop(): mixed

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

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