-
I found it does not create a Promise from go methods that doesn't return anything. I wrote an App method like this.
When I tried to get a Promise from the function call,
It raises an error.
Is there another way to wait until the call has done?
Which I'm not convinced as the returned string isn't meaningful. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
There's a PR that re-introduces a Lea is waiting on some feedback from people about this and possibly changing the way events work too. It would be great if you could share your thoughts there. |
Beta Was this translation helpful? Give feedback.
There's a PR that re-introduces a
return
in the generated JavaScript so that you canawait
the result if you wish.#1410
Lea is waiting on some feedback from people about this and possibly changing the way events work too. It would be great if you could share your thoughts there.