dillon1000/react

Commit

[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.
Browse files
Changed paths2 files
First-parent comparison
M packages/scheduler/src/Scheduler.js ModifiedM packages/scheduler/src/__tests__/Scheduler-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…