GoLang Swoole\Channel::pop

request it (69)
GoLang replacement for PHP's Swoole\Channel::pop [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Channel::pop? Write it!

PHP Swoole\Channel::pop

PHP original manual for Swoole\Channel::pop [ show | php.net ]

Swoole\Channel::pop

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

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

Description

public mixed Swoole\Channel::pop ( void )

Parameters

This function has no parameters.

Return Values

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