ClearOutputChannel

Function ClearOutputChannel 

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

Creates an effect that, when executed, will clear the entire buffer of the specified output channel.

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.