Skip to content

Commit ffec37a

Browse files
Update component-model/src/design/async.md
Co-authored-by: Victor Adossi <123968127+vados-cosmonic@users.noreply.github.com>
1 parent 35629a7 commit ffec37a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

component-model/src/design/async.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Async, Streams, and Futures
22

3-
WASI 0.3 is built on three new Canonical ABI primitives in the Component Model: `async func`, `stream<T>`, and `future<T>`. Together, they let interfaces express asynchronous operations that compose across component boundaries.
3+
WASI 0.3 adds new Canonical ABI primitives to the Component Model that enable async functionality. Components that target WASI 0.3 can use the new features in their WIT files:
4+
* `async func`
5+
* `stream<T>`
6+
* `future<T>`
7+
8+
These new types let interfaces express asynchronous operations that compose across component boundaries.
49

510
For migration mechanics (e.g., how a WASI 0.2 component maps onto these primitives) see [Migrating from WASI 0.2 to WASI 0.3](./migrating-to-p3.md). For the WASI release view, including the full per-interface diff, see [WASI 0.3](https://wasi.dev/releases/wasi-p3) on WASI.dev. This page focuses on the Component Model concepts themselves.
611

0 commit comments

Comments
 (0)