Swoole\Channel::stats
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Get stats of swoole channel.
Description
Swoole\Channel::stats(): array
Get the numbers of queued elements and total size of the memory used by the queue.
Parameters Parameters
Return Values
The stats of the Swoole channel.