Skip to main content

RuneHandlerFn

Type Alias RuneHandlerFn 

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

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

Aliased Type§

pub struct RuneHandlerFn { /* private fields */ }