Skip to main content

FunctionHandler

Type Alias FunctionHandler 

Source
pub type FunctionHandler = Arc<dyn Fn(Vec<u8>) -> BoxFuture<'static, Result<Vec<u8>, ServerlessError>> + Send + Sync>;
Expand description

Function handler type.

Aliased Typeยง

pub struct FunctionHandler { /* private fields */ }