Function start
Source pub fn start<R, B, E>(f: impl Handler<R, B, E>, runtime: Option<Runtime>)
Expand description
Creates a new lambda_runtime::Runtime and begins polling for Now Lambda events
§Arguments
f A type that conforms to the Handler interface.
§Panics
The function panics if the Lambda environment variables are not set.