react/packages/scheduler
Andrew Clark c9be16f5b6
[scheduler] Rename priority levels (#13842)
- "Interactive" -> "user-blocking"
- "Whenever" -> "Idle"

These are the terms used by @spanicker in their main-thread scheduling
proposal: https://github.com/spanicker/main-thread-scheduling#api-sketch

That proposal also uses "microtask" instead of "immediate" and "default"
instead of "normal." Not sure about "microtask" because I don't think
most people know what that is. And our implementation isn't a proper
microtask, though you could use it to implement microtasks if you made
sure to wrap every entry point. I don't really have a preference between
"default" and "normal."

These aren't necessarily the final names. Still prefixed by `unstable_`.
2018-10-12 14:42:15 -07:00
..
npm [scheduler] Priority levels, continuations, and wrapped callbacks (#13720) 2018-09-25 15:11:42 -07:00
src [scheduler] Rename priority levels (#13842) 2018-10-12 14:42:15 -07:00
README.md Rename schedule to scheduler (#13683) 2018-09-19 01:26:28 +01:00
index.js Rename schedule to scheduler (#13683) 2018-09-19 01:26:28 +01:00
package.json Updating package versions for release 16.6.0-alpha.8af6728 2018-10-10 17:12:05 +01:00
tracing.js Rename schedule to scheduler (#13683) 2018-09-19 01:26:28 +01:00

README.md

scheduler

This is a package for cooperative scheduling in a browser environment. It is currently used internally by React, but we plan to make it more generic.

The public API for this package is not yet finalized.

Thanks

The React team thanks Anton Podviaznikov for donating the scheduler package name.