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 · 1 comment
Open

Synced eval or yield function #1041

trikko opened this issue Oct 14, 2023 · 1 comment
Labels
type: feature request Issue is a feature request

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.

@phildremi phildremi added the type: feature request Issue is a feature request label Sep 23, 2024
@phildremi
Copy link
Collaborator

Sounds like your second request would be covered by the proposed webview_step method (#578)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request Issue is a feature request
Development

No branches or pull requests

2 participants