pub fn run(handler: impl Handler) {
    runtime::Builder::new_current_thread()
        .enable_all()
        .build()
        .unwrap()
        .block_on(run_async(handler));
}
/**
# 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
*/
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
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
pub fn run(handler: impl Handler) {
    runtime::Builder::new_current_thread()
        .enable_all()
        .build()
        .unwrap()
        .block_on(run_async(handler));
}
pub fn run ( handler : impl Handler ) { runtime :: Builder :: new_current_thread ( ) . enable_all ( ) . build ( ) . unwrap ( ) . block_on ( run_async ( handler ) ) ; }
Runs a trillium handler in a sync context
This function creates a new tokio runtime and executes the handler on
it for aws lambda.
Runs a trillium handler in a sync context This function creates a new tokio runtime and executes the handler on it for aws lambda .
handler
impl Handler
handler
impl Handler