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

[feature request] add async function bind support #1

Open
congzhangzh opened this issue Nov 26, 2024 · 4 comments
Open

[feature request] add async function bind support #1

congzhangzh opened this issue Nov 26, 2024 · 4 comments

Comments

@congzhangzh
Copy link
Owner

ref: webview/webview_deno#184

@congzhangzh
Copy link
Owner Author

@congzhangzh
Copy link
Owner Author

Basic idea:

  1. Add guest mode concept to asyncio
  2. Split runonce to poll part and trigger part
  3. Run poll part in background thread
  4. Run other part on ui thread by run on ui
  5. No need while true, but do all the iterations on ui thread if needed

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

No branches or pull requests

1 participant