-
Notifications
You must be signed in to change notification settings - Fork 56
Enable Asynchronous Handlers #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@KabirKwatra I'll take a look at this when I get a chance, but if you have ideas, PRs are welcome |
awslabs/aws-lambda-rust-runtime supports this already on the master branch but they haven't cut a release because reasons. The current master branch API has changed since 0.2 but any changes that may need to happen minimal, the API surface of |
Yay, this is supported now! https://github.com/awslabs/aws-lambda-rust-runtime/releases |
Hey we released a new runtime in #80 which should now enable this. Happy about every feedback. |
It would be nice if we could have an asynchronous handler for a function. I know you can do this with the Node API.
Ideally, I should be able to pass a handler function that returns a future into the lambda macro.
Alternatively, there could be a separate macro for asynchronous handlers.
The text was updated successfully, but these errors were encountered: