[w3c/IndexedDB] Configurable task priority for IDBRequest and IDBTransaction? (Issue #428)

TPAC 2024: The [Prioritized Task Scheduling API](https://developer.mozilla.org/en-US/docs/Web/API/Prioritized_Task_Scheduling_API) [shipping in Chromium](https://chromestatus.com/feature/6031161734201344) introduces JavaScript task prioritization where applications can post tasks with high priority and background priority.  Should we provide a way for developers to set the priority of the JavaScript tasks associated with IDBRequests and IDBTransactions?  

For example, an application could indicate that an IDB read request is user blocking when the application needs results from IDB to load or display.  Setting a user blocking priority could increase the priority of the JavaScript event tasks associated with the IDBRequest and IDBTransaction.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/428
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/IndexedDB/issues/428@github.com>

Received on Tuesday, 1 October 2024 18:36:55 UTC