|
|
|
|
|
by spookylukey
3428 days ago
|
|
That's really helpful. Can you make an example which doesn't require making the my_handler function 'async'? For cases when you don't want to make an entire async stack, you just want to slot some async code into your existing code. If the answer is "to get some async goodness, just use this easy code, plus rewrite your entire project to use a different framework and set of libraries", then we are only fooling ourselves. |
|
I would recommend against it, but if you had an existing framework, you could just make the endpoints lambdas that are something like: