-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Use Case
As a... bundling user of the Node driver
I want... node-specific APIs (process.nextTick) to be replaced with non-node specific ones (queueMicrotask)
So that... bundling is easier
User Experience
- process.nextTick isn't used in the driver
Dependencies
- N/A
Risks/Unknowns
- We have to be very careful with timing - for each instance of usage, consider whether moving the execution in the event loop will make a difference
Acceptance Criteria
Implementation Requirements
- Review Node.js event loop fundamentals (specifically relative to nextTick and queueMicrotask)
- Replace process.nextTick() with queueMicrotask() (or another alternative)
- Ask Anna for review
Testing Requirements
- Existing tests pass
Documentation Requirements
- Release note
Follow Up Requirements
- Regression testing is deferred to a consolidated follow up ticket for M0