RabbitHutch.Connection.channel
You're seeing just the callback
channel
, go back to RabbitHutch.Connection module for more information.
Link to this callback
channel(pid, opts)
Specs
Returns a channel for the given process.
The returned channel process will be monitored and
Options
:timeout
- When not connected, give this much time in milliseconds to wait for a reconnection, or return{:error, :timeout}
If
nil
, return{:error, :no_connection}
when not able to open a channel process. Default:nil