lapin icon indicating copy to clipboard operation
lapin copied to clipboard

Channel should have `on_error` too

Open cynecx opened this issue 2 years ago • 0 comments

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.

cynecx avatar Aug 18 '22 14:08 cynecx