Skip to content

feat: expose PerformMicrotaskCheckpoint #1688

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

Merged
merged 1 commit into from
Nov 21, 2021

Conversation

edusperoni
Copy link
Collaborator

Expose PerformMicrotaskCheckpoint as __drainMicrotaskQueue, which allows us to stabilize the runtime when needed (like when you need a synchronous return to a native function that is being handled in a microtask)

@cla-bot cla-bot bot added the cla: yes label Nov 19, 2021
@triniwiz triniwiz changed the base branch from master to 8.2.0 November 21, 2021 04:58
@triniwiz triniwiz merged commit 16f9f35 into NativeScript:8.2.0 Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants