pub async fn channel_stops(
channel: Arc<dyn Channel>,
sink: Arc<dyn InboundSink>,
shutdown: CancellationToken,
)Expand description
Checks that Channel::run returns soon after shutdown.
ยงPanics
When run fails or is still running 10 seconds after the token is cancelled.