Skip to main content

StreamRuneHandlerFn

Type Alias StreamRuneHandlerFn 

Source
pub type StreamRuneHandlerFn = Arc<dyn Fn(RuneContext, Bytes, StreamSender) -> BoxFuture<'static, SdkResult<()>> + Send + Sync>;
Expand description

A stream handler function: (ctx, input, stream) -> Result<()>.

Aliased Type§

pub struct StreamRuneHandlerFn { /* private fields */ }