I just read Joel's blog (
https://mojolicious.io/blog/2018/12/24/async-await-the-mojo-way/) about
async/await support. This is wonderful. I am totally excited about this.
Thank you to all involved!
Obviously I had to test this right away and it works great with the
Mojolicious::Lite demo shown
ps. it also does not work when the method in the controller is called hello
...
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to mojolicious+unsubscr...@googlegro
it does not depend on coro anymore ... read the blog post I cited!
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to mojolicious+unsubscr...@googlegroups.com.
To vi
aargh I cited the wrong one :) way to excited just now :)
https://mojolicious.io/blog/2019/12/26/announcing-core-async-await/
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send
I am answering my own questions here ... so it seems I still have to call
render_later in the controller to make this work ..
async sub hello ($self) {
# Render template "example/welcome.html.ep" with message
*$self**->render_later;*
await Mojo::Promise->new(sub ($resolve,$fail) {
Moj
Michael,
I find the descriptions in [
https://mojolicious.org/perldoc/Mojo/UserAgent/Transactor#tx |
https://mojolicious.org/perldoc/Mojo/UserAgent/Transactor#tx ] pretty helpful
cheers
tobi
- On May 14, 2020, at 2:06 PM, 'Michael Lackhoff' via Mojolicious
wrote:
> Well, the easies