You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It claims it is going to show you how to write an RPC, where the caller waits for a response before returning. However, the example code does the opposite: in rpc_client.js, the call to amqp.connect returns before the callback for channel.consume is invoked.
The C# RPC tutorial does a true RPC, where it waits for the response before returning. The Javascript tutorial should have a similar behavior.
The text was updated successfully, but these errors were encountered:
As @michaelklishin said, we would welcome corrections. RabbitMQ is free, open-source software and any contributions from the community are very welcome.
I found this tutorial quite confusing: https://www.rabbitmq.com/tutorials/tutorial-six-javascript.html
It claims it is going to show you how to write an RPC, where the caller waits for a response before returning. However, the example code does the opposite: in rpc_client.js, the call to amqp.connect returns before the callback for channel.consume is invoked.
The C# RPC tutorial does a true RPC, where it waits for the response before returning. The Javascript tutorial should have a similar behavior.
The text was updated successfully, but these errors were encountered: