---
title: "The Async Component Model"
description: "WASI 0.3 builds on the Component Model's new async features, which let each language implement its own concurrency in Wasm while still calling async functions across components without knowing how the other side works."
url: "https://swe.quest/articles/the-async-component-model-94d383d16caa7206"
canonical: "https://bytecodealliance.org/articles/async-component-model"
source: "Bytecode Alliance"
published: "2026-12-01"
difficulty: "hard"
kind: "Deep dive"
reading_minutes: 17
tags: ["webassembly","concurrency","runtimes"]
---

# The Async Component Model

A post on [Bytecode Alliance](https://swe.quest/sources/bytecode-alliance.md), published 2026-12-01, 17 min read, Deep dive. Original: [https://bytecodealliance.org/articles/async-component-model](https://bytecodealliance.org/articles/async-component-model)

## Summary

WASI 0.3 builds on the Component Model's new async features, which let each language implement its own concurrency in Wasm while still calling async functions across components without knowing how the other side works. The building blocks are an \`async\` effect on component function types, \`async\` lift/lower canonical options, epoll-like waitable sets referenced by i32 handle-table indices, streams and futures, and cooperative threads. Functions block either stackfully via \`waitable-set.wait\` or stacklessly by returning a WAIT exit code and supplying a callback. Async-lowered calls return a bit-packed status plus subtask index, and results come back through \`task.return\`. A full annotated WAT example walks through summing two async \`get-random\` calls. As of WASI 0.3.3 the stackful ABI is not yet released, so a callback is still required.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [WebAssembly](https://swe.quest/tags/webassembly.md) (Languages)
- [Concurrency](https://swe.quest/tags/concurrency.md) (Compilers & runtimes)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)

## Prerequisites

- WebAssembly Component Model basics ([easy posts on WebAssembly](https://swe.quest/tags/webassembly.md?difficulty=easy))
- WAT text format
- async/await concurrency ([easy posts on Concurrency](https://swe.quest/tags/concurrency.md?difficulty=easy))

## Keywords

WASI 0.3, Component Model, Wasmtime, WIT, Bytecode Alliance

## Related posts

- [WASI 0.3 Launched](https://swe.quest/articles/wasi-0-3-launched-60a1c838e3b37e3e.md): Bytecode Alliance · 2026-06-11 · Medium · 7 min read · WebAssembly, Concurrency, Runtimes & VMs, API design
  WASI 0.3.0 is ratified and rebases WASI onto the Component Model's native async primitives.
- [The Road to Component Model 1.0](https://swe.quest/articles/the-road-to-component-model-1-0-62b2bd7fd04e618c.md): Bytecode Alliance · 2026-06-08 · Hard · 11 min read · WebAssembly, Runtimes & VMs, Language design, Browsers
  Component Model 1.0 is planned around five workstreams: a lazy ABI that replaces cabi\_realloc-based eager allocation with opaque value handles and inlinable built-ins, native implementation in at least two browser engines, simpler implementation via guest and host C ABIs plus a component-smashing tool, ecosystem and tooling growth, and WIT expressivity features such as optional imports, callbacks, resource subtyping and a map type.
- [Introducing the WebAssembly JavaScript Promise Integration API](https://swe.quest/articles/introducing-the-webassembly-javascript-promise-integration-api-b17a598677f4452f.md): V8 · 2024-07-01 · Medium · 11 min read · WebAssembly, JavaScript, C & C++, Browsers, Concurrency
  JSPI lets WebAssembly code written against synchronous APIs call asynchronous Web APIs.
- [How Wasm components enable pluggable tooling through interposition](https://swe.quest/articles/how-wasm-components-enable-pluggable-tooling-through-interposition-a5956d44c32f04d1.md): Bytecode Alliance · 2026-05-14 · Medium · 8 min read · WebAssembly, System design, Developer tools
  The WASI 0.3 \`wasi:http\` middleware world (import handler, export handler) shows how Wasm component composition enables in-process service chaining and, more generally, interposition: inserting a component between any caller and callee without modifying either.
- [Five ways of looking at Jco, Part 1](https://swe.quest/articles/five-ways-of-looking-at-jco-part-1-22480db6180de743.md): Bytecode Alliance · 2026-03-19 · Easy · 3 min read · WebAssembly, JavaScript, Developer tools, Runtimes & VMs
  Jco, the Bytecode Alliance's JavaScript WebAssembly multi-tool, is best understood as a layered stack.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
