Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synced eval or yield function #1041

Open
trikko opened this issue Oct 14, 2023 · 0 comments
Open

Synced eval or yield function #1041

trikko opened this issue Oct 14, 2023 · 0 comments

Comments

@trikko
Copy link

trikko commented Oct 14, 2023

Hello,

it would be useful to have a blocking version of the eval() function in addition to the asynchronous one: in many cases, the necessary roundtrip to retrieve the value unnecessarily complicates things. Alternatively, if it doesn't disrupt everything, could there be a method to call a single interaction of run() on various platforms? For example, in the case of GTK, something like "gtk_main_loop_iteration.".

In this case, you could launch eval and wait in an infinite loop for the call to be completed, but this loop should be able to trigger the iterations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant