Skip to main content

StreamRuneHandlerWithFilesFn

Type Alias StreamRuneHandlerWithFilesFn 

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

A stream handler that also accepts files: (ctx, input, files, stream) -> Result<()>.

Aliased Type§

pub struct StreamRuneHandlerWithFilesFn { /* private fields */ }