Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels