It's a bit messy because we use Aborted in places where it should actually be Closed, but we can't because it requires an inner Closing.
An area to explore would be to remove Aborted and Closed entirely, and create a new action ChannelClosed that would:
- if we had a persisted state, mark it as closed in the DB and remove from
_channels
- otherwise, just remove from
_channels
It's a bit messy because we use
Abortedin places where it should actually beClosed, but we can't because it requires an innerClosing.An area to explore would be to remove
AbortedandClosedentirely, and create a new actionChannelClosedthat would:_channels_channels