pub async fn remove_sub_on_stop(
p2p: P2pPtr,
channel: ChannelPtr,
type_id: SessionBitFlag,
stop_sub: Subscription<Error>,
)
Expand description
Removes channel from the list of connected channels when a stop signal is received.
pub async fn remove_sub_on_stop(
p2p: P2pPtr,
channel: ChannelPtr,
type_id: SessionBitFlag,
stop_sub: Subscription<Error>,
)
Removes channel from the list of connected channels when a stop signal is received.