lapin
lapin copied to clipboard
Channel should have `on_error` too
Connection::on_error in its current implementation doesn't catch channel errors. Perhaps this is working as intended, however there is no equivalent for catching errors on a channel, for example through a hypthetical Channel::on_error
. To monitor a channel state you basically have to periodically check a channel's status as a workaround.