Closed amaury1093 closed 4 years ago
Yes @amaurymartiny this works fine.
It kind of has to work because a lot of AWS-related operations in rusoto-*
are async functions.
Did you try this out and it didn't work for you? What's the error?
@kahlil29 you'll likely want to check out the lasted rust runtime. It's not released yet but you can dependent on it as a git dependency. It's async by default
I'll be rolling out new examples soon
If it helps I posted a trivial example here https://github.com/softprops/dynomite/blob/master/dynomite/examples/lambda.rs
@amaurymartiny I hope this helps you. I think I was tagged by mistake 😅
@amaurymartiny all examples and templates have been updated to use the latest async version of the rust lambda runtime which is at this time an unreleased git dependency. When it's released I'll update to reflect the crates.io release
💡 Feature description
I would like to see examples using async handlers (is it supported already?). The echo, http and multi examples only show sync handlers.
💻 Basic example
Does something like this already work?