Skip to main content

RuneHandlerWithFilesFn

Type Alias RuneHandlerWithFilesFn 

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

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

Aliased Type§

pub struct RuneHandlerWithFilesFn { /* private fields */ }