Skip to content

Document stream<T>, future<T>, and async func in WIT Reference#355

Merged
vados-cosmonic merged 1 commit into
bytecodealliance:mainfrom
ericgregory:p3-wit-reference
Jul 8, 2026
Merged

Document stream<T>, future<T>, and async func in WIT Reference#355
vados-cosmonic merged 1 commit into
bytecodealliance:mainfrom
ericgregory:p3-wit-reference

Conversation

@ericgregory

@ericgregory ericgregory commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Adds reference entries for the three WIT primitives that the Component Model added for WASI 0.3. Stacked on PR #352

Extend the WIT Reference with the three primitives that the Component
Model added for WASI 0.3: stream<T> and future<T> as new built-in
types after Tuples, and async func as a new subsection of Functions.
Each entry covers the WIT syntax with worked examples, notes the
value-not-resource property of the new types, and cross-links to
design/async.md for the underlying motivation.

Signed-off-by: Eric Gregory <eric@cosmonic.com>
@vados-cosmonic vados-cosmonic merged commit 8e4c76d into bytecodealliance:main Jul 8, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants