Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core): avoid additional closure for queued microtask callback
The `runCallbackOnce` closure is declared not to have any parameters itself, so it is compatible as `queueMicrotask` callback without the extra closure. This reduces the call stack by a frame and avoids the extra closure allocation.
- Loading branch information