dillon1000/react
Commit
Browse files [Scheduler] Support inferring priority from stack (#16105)
When executing a task, wraps the callback in an extra function whose name includes the current priority level. Profiling tools with access to function names can use this to determine the priority of the task.
Changed paths2 files
First-parent comparisonpackages/scheduler/src/Scheduler.js ModifiedM packages/scheduler/src/__tests__/Scheduler-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…