Swoole\Channel::push
Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.
Swoole\Channel::push
Референца за `swoole-channel.push.php` со подобрена типографија и навигација.
Swoole\Channel::push
(PECL swoole >= 1.9.0)
Swoole\Channel::push — Write and push data into Swoole channel.
= NULL
Data can be any non-empty PHP variable, the variable will be serialized if it is not string type.
If size of the data is more than 8KB, swoole channel will use temp files storage.
The function will return true if the write operation is succeeded, or return false if there is not enough space.
Параметри
data-
The data to push into the Swoole channel.
Вратени вредности
Whether the data is pushed into he Swoole channel.