Skip to content

Comments

add createEventsAsync, an async version of createEvents that periodically yields#292

Open
erulabs wants to merge 1 commit intoadamgibbons:masterfrom
erulabs:createEventsAsync
Open

add createEventsAsync, an async version of createEvents that periodically yields#292
erulabs wants to merge 1 commit intoadamgibbons:masterfrom
erulabs:createEventsAsync

Conversation

@erulabs
Copy link

@erulabs erulabs commented Dec 29, 2025

createEvents with 10k+ items can easily block the event loop for a 40ms+.

This PR exposes createEventsAsync which can be used without so much monopolization of the main thread.

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.

1 participant