Summary
Add the runtime primitives behind Preview 3 draft waitables, waitable sets, readiness, backpressure, and cancellation so async package APIs have something concrete to run on.
Parent tracking issue: #70
Suggested implementation order: 4 / 14
References
Acceptance criteria
- The runtime can represent waitables and readiness transitions needed by Preview 3 draft async flows.
- Backpressure and cancellation paths behave predictably instead of dropping work or hanging tasks indefinitely.
- Tests cover blocking, wakeups, cancellation, and closure behavior across at least one representative native and web path.
Summary
Add the runtime primitives behind Preview 3 draft waitables, waitable sets, readiness, backpressure, and cancellation so async package APIs have something concrete to run on.
Parent tracking issue: #70
Suggested implementation order: 4 / 14
References
Acceptance criteria