Skip to content

Integrate uv_loop with CFRunLoop #52

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

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from
Draft

Integrate uv_loop with CFRunLoop #52

wants to merge 24 commits into from

Conversation

kabiroberai
Copy link
Owner

@kabiroberai kabiroberai commented Jun 21, 2025

See #51 (comment)

I'm not 100% satisfied with this yet because it makes re-entrant uv_run calls, which is officially unsupported, though it does seem to work in the rudimentary cases I've tested.

Copy link

@himself65 himself65 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is napi_get_uv_event_loop API you can get

https://nodejs.org/api/n-api.html#libuv-event-loop

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

Successfully merging this pull request may close these issues.

2 participants