DisposeOutputChannel

Function DisposeOutputChannel 

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

Creates an effect that, when executed, will dispose of the specified output channel, removing it and its content permanently from the application.

It uses the OutputChannelManager capability from the environment.

§Parameters

  • ChannelIdentifier: The unique ID of the target channel.

§Returns

An ActionEffect that resolves to () on success.