We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f693fb commit a2aeb2cCopy full SHA for a2aeb2c
lambda-runtime/src/runtime.rs
@@ -45,6 +45,9 @@ where
45
}
46
47
#[macro_export]
48
+/// Starts an event listener which will parse incoming events into the even type requested by
49
+/// `handler` and will invoke `handler` on each incoming event. Can optionally be passed a Tokio
50
+/// `runtime` to build the listener on. If none is provided, it creates its own.
51
macro_rules! lambda {
52
($handler:ident) => {
53
$crate::start($handler, None)
0 commit comments