Add Async, Streams, and Futures concepts page#351
Closed
ericgregory wants to merge 1 commit into
Closed
Conversation
Add a new design/async.md introducing the Canonical ABI primitives (`async func`, `stream<T>`, `future<T>`) that the Component Model added for the WASI P3 release. The page covers the sandwich problem (why native async matters for composition), each primitive with a worked WIT example, the stream-plus-future and write-direction-flip patterns, and a tooling-support pointer. Hook the page into Component Model Concepts as a new subsection after Packages, and add the SUMMARY.md entry under that umbrella. Signed-off-by: Eric Gregory <eric@cosmonic.com>
Contributor
Author
|
Closing in favor of #352, which now bundles this page with the Migrating from WASI P2 to WASI P3 guide. The two pages cross-reference each other and form a coherent piece of P3 conceptual content; bundling avoids stack-management overhead and guarantees the cross-links land together. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a new
design/async.mdintroducing the Canonical ABI primitives (async func,stream<T>,future<T>) that the Component Model added for WASI P3, covering the sandwich problem, each primitive with a WIT example, the stream-plus-future and write-direction-flip patterns, and tooling pointers; hooks it into Component Model Concepts as a new subsection after Packages.