Skip to content

Implement waitables, backpressure, and cancellation runtime semantics for WASI Preview 3 #74

Description

@medz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions