Skip to content

refactor!: adopt capy's context-based names - #396

Merged
sgerbino merged 1 commit into
cppalliance:developfrom
sgerbino:pr/rename-foundation
Oct 16, 2026
Merged

sgerbino merged 1 commit into
cppalliance:developfrom
sgerbino:pr/rename-foundation

Conversation

@sgerbino

Copy link
Copy Markdown
Collaborator

Follows cppalliance/capy#455, which renamed capy's awaitable protocol vocabulary:

Old New
IoAwaitable ContextAwaitable
io_env await_context
io_awaitable_promise_base context_awaitable_promise_base
io_result results
io_task<Ts...> removed; write task<results<Ts...>>

The library, tests, examples and documentation use the new names and headers. Names built on the old ones follow too, for example decode_results and the testResults* resolver and signal_set tests.

Capy renamed its awaitable protocol vocabulary:

  IoAwaitable                -> ContextAwaitable
  io_env                     -> await_context
  io_awaitable_promise_base  -> context_awaitable_promise_base
  io_result                  -> results

and removed io_task in favor of task<results<Ts...>>. Follow the
new names and headers throughout the library, tests, examples and
documentation.
@github-actions

Copy link
Copy Markdown

Benchmark report

c013eacd1b8d (base) vs dcab49640fee (head)

  • ❌ linux — no results (job failed or runner offline)
  • ❌ windows — no results (job failed or runner offline)
  • ❌ macos — no results (job failed or runner offline)

Run & raw JSON artifacts · flag rule: |median Δ| > max(2%, 3×CV of the noisier side) · advisory only

@cppalliance-bot

Copy link
Copy Markdown

An automated preview of the documentation is available at https://396.corosio.prtest3.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-10-16 22:35:34 UTC

@sgerbino
sgerbino merged commit 2ddc5d4 into cppalliance:develop Oct 16, 2026
56 of 99 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Beast2 Oct 16, 2026
@sgerbino
sgerbino deleted the pr/rename-foundation branch October 16, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants