RevealOutputChannel

Function RevealOutputChannel 

Source
pub fn RevealOutputChannel(
    ChannelIdentifier: String,
    PreserveFocus: bool,
) -> ActionEffect<Arc<dyn OutputChannelManager>, CommonError, ()>
Expand description

Creates an effect that, when executed, will reveal (open and focus) the specified output channel in the user interface.

It uses the OutputChannelManager capability from the environment.

§Parameters

  • ChannelIdentifier: The unique ID of the target channel.
  • PreserveFocus: If true, the focus will remain in its current location instead of moving to the output channel panel.

§Returns

An ActionEffect that resolves to () on success.