Function trillium_aws_lambda::run

source ·
pub fn run(handler: impl Handler)
Expand description

Runs a trillium handler in a sync context

This function creates a new tokio runtime and executes the handler on it for aws lambda.

This function will block the current thread until the server shuts down