[−][src]Macro lambda_runtime_core::lambda
Starts an event listener which will parse incoming events into the even type requested by
handler
and will invoke handler
on each incoming event. Can optionally be passed a Tokio
runtime
to build the listener on. If none is provided, it creates its own.