From ddf83d105c89f90ba6c948f191cb411947b913e5 Mon Sep 17 00:00:00 2001 From: Scott Haseley Date: Thu, 29 Jun 2023 14:42:31 -0700 Subject: [PATCH] Add a meta explainer tying together various proposals --- explainers/prioritized-task-scheduling.md | 848 ++++++++++++++++++++++ 1 file changed, 848 insertions(+) create mode 100644 explainers/prioritized-task-scheduling.md diff --git a/explainers/prioritized-task-scheduling.md b/explainers/prioritized-task-scheduling.md new file mode 100644 index 0000000..7533845 --- /dev/null +++ b/explainers/prioritized-task-scheduling.md @@ -0,0 +1,848 @@ +# Prioritized Task Scheduling + +## Authors + +- [Scott Haseley](https://github.com/shaseley) + +## Participate + +- [Issue tracker](https://github.com/WICG/scheduling-apis/issues) + +## Table of Contents + + + + +- [Preface](#preface) +- [Definitions and Concepts](#definitions-and-concepts) + - [Notes](#notes) +- [Introduction](#introduction) +- [Goals](#goals) +- [Non-goals](#non-goals) +- [User research](#user-research) +- [Proposal](#proposal) + - [Task Priorities](#task-priorities) + - [`TaskSignal` and `TaskController`](#tasksignal-and-taskcontroller) + - [`TaskSignal.any()` Specialization](#tasksignalany-specialization) + - [`scheduler.postTask()`](#schedulerposttask) + - [`scheduler.yield()`](#scheduleryield) + - [How Continuations are Prioritized](#how-continuations-are-prioritized) + - [`scheduler.render()`](#schedulerrender) + - [High Priority Rendering Updates](#high-priority-rendering-updates) + - [`scheduler.wait()`](#schedulerwait) + - [Prioritizing Continuations](#prioritizing-continuations) + - [Relationship to `setTimeout()` and `scheduler.postTask()`](#relationship-to-settimeout-and-schedulerposttask) + - [Future Enhancements](#future-enhancements) + - [`scheduler.currentTaskSignal`](#schedulercurrenttasksignal) + - [Integration with Other APIs](#integration-with-other-apis) + - [`fetch`](#fetch) + - [`