Skip to content

docs: call ASIO and COROSIO I/O runtimes, and show the shape of an ooperation - #37

Merged
pgit merged 1 commit into
masterfrom
docs-sphinx
Nov 5, 2026
Merged

pgit merged 1 commit into
masterfrom
docs-sphinx

Conversation

@pgit

@pgit pgit commented Nov 5, 2026

Copy link
Copy Markdown
Owner

"API style" is gone, in the docs, CLAUDE.md, the README and the comments: ASIO and COROSIO are the two I/O runtimes. Not async runtimes: Corosio is the I/O on top of Capy, which is the async runtime, and Asio is both in one. The page api-styles.rst becomes io-runtimes.rst, "I/O runtimes: Asio and Corosio", with a new section on the shape of an operation: on ASIO an async_x(..., token) and the coroutine x() around it, on COROSIO the coroutine only. Its example, read_twice() in snippets.cpp, spells out the types that Task<> and error_code stand for on each runtime.

The CMake option keeps its name, ANYHTTP_API.

…eration

"API style" is gone, in the docs, CLAUDE.md, the README and the comments: ASIO and COROSIO are the
two I/O runtimes. Not async runtimes: Corosio is the I/O on top of Capy, which is the async runtime,
and Asio is both in one. The page api-styles.rst becomes io-runtimes.rst, "I/O runtimes: Asio and
Corosio", with a new section on the shape of an operation: on ASIO an async_x(..., token) and the
coroutine x() around it, on COROSIO the coroutine only. Its example, read_twice() in snippets.cpp,
spells out the types that Task<> and error_code stand for on each runtime.

The CMake option keeps its name, ANYHTTP_API.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pgit
pgit merged commit 834e5bf into master Nov 5, 2026
11 checks passed
@pgit
pgit deleted the docs-sphinx branch November 6, 2026 20:17
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.

1 participant