Skip to main content

current_channel

Function current_channel 

Source
pub fn current_channel() -> Option<Arc<dyn OutputChannel>>
Expand description

The current execution’s output channel, if a scoped context set one. None outside a scope OR when the scoped context has no channel — the caller falls back to the process-global CHANNEL (A1).