Comments (3)
$channel->wait();
isn't only there for basic_deliver. There are more things that happen inside, like waiting for other AMQP methods.
from php-amqplib.
Yes, I realize that it's not just for 'basic_deliver'. Nevertheless, it returns the result of the dispatched method. So I supposed that result can be used somehow by 'wait' caller. Or you mean, that while waiting for 'basic_deliver' result I can get the result of another method? And 'return' statements in 'wait' just break the func execution?
from php-amqplib.
You call wait()
to wait on the channel while it reads data from the network. In case of basic.deliver, you will have the callback to do something with the data received. Else, it just there to break the execution. As far as I can see this now, wait()
is not going to return anything.
from php-amqplib.
Related Issues (20)
- Subscribers/consumers silently disconnect from the queue leaving the app in an infinite loop
- No docs for `basic_qos` function parameters HOT 6
- Breaking changes with pcntl signals on `channel->wait function`, when using `non_blocking: false` HOT 9
- Cannot avoid static analysis issues with deprecation of `$ssl_options` in `AMQPStreamConnection`
- Number of connection attempts in case of connection failure
- RabbitMQ instances are loosing connection with worker server after particular time period though the service instances are up and running on worker. Is there any time limit for RabbitMQ server connections hosted on AmazonMQ?
- ssl_protocol == null return $ssl_protocol parameter is deprecated HOT 1
- Connection option close_on_destruct doesn't work because of circular reference HOT 1
- Required parameter $io follows optional parameter $vhost HOT 1
- "Broken pipe or closed connection" on $this->connection->channel()
- Lazy stream connection leaks stream context resource causing file descriptor limit hit (FD_SETSIZE) HOT 2
- PHP Fatal error: Uncaught PhpAmqpLib\Exception\AMQPProtocolChannelException HOT 26
- stream_set_blocking(): Argument #2 ($enable) must be of type bool, int given HOT 3
- DateTime::createFromFormat(): Argument #2 ($datetime) must be of type string, int given HOT 2
- Better support for OAuth2 authorization backend
- AMQPConnectionException: Server connection error: 320, message: CONNECTION_FORCED - Node was put into maintenance mode HOT 1
- Connecting php-amqplib to rmohr/activemq docker image HOT 1
- PhpAmqpLib\Exception\AMQPIOException Can not enable keepalive: function socket_import_stream does not exist
- Unix signals question
- Option to enable/disable IPv6 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-amqplib.