Can I get the value outside of promise? #1826
-
I am refactoring my mojolicious app from block to unblock for some method. sub a { to PS. promise->wait can't resolve the problem in my mojolicious app. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
No, that is impossible. |
Beta Was this translation helpful? Give feedback.
-
The closest way to accomplish it with the least (but not no) code changes is to use async/await |
Beta Was this translation helpful? Give feedback.
No, that is impossible.