Node callbacks #2065
Unanswered
arturolinares
asked this question in
Q&A
Node callbacks
#2065
Replies: 1 comment 4 replies
-
I think I can see the problem, we're not waking up the libuv event loop from within our event loop :(. I don't know yet how to fix that. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I am having trouble using the slint-ui with node in a small application.
I have a window with a button that when it is clicked makes a request to Google and updates the button text to the response body length. The UI appears to work well, except that the request doesn't seem to finish until the window is closed. Maybe I need to perform the request outside the UI thread... but how can I do that?
This is the script:
The slint file:
Thanks in advance 😄
Beta Was this translation helpful? Give feedback.
All reactions