Skip to content

Async entry points mirror their synchronous overloads #250

Closed

Description

@michaelstonis

Parent

#231 → #33 Spec: Broadside v1

What to build

One overload style for Open/OpenAsync, Save/SaveAsync and the engine's methods: every asynchronous method mirrors a synchronous overload (path, stream, bytes where they apply; with and without options) plus a trailing defaulted cancellation token, and optional options parameters are not mixed with overloads.

Spec clauses

spec Memory and I/O decision; review finding on SaveAsync style

Acceptance criteria

  • A reflection test pairs every synchronous open and save overload with an asynchronous counterpart of the same parameters plus a cancellation token, and the reverse.
  • Cancelling a save between chunks stops writing and surfaces cancellation; nothing is left half-written at a destination path.
  • The rule is recorded for the API review checklist (P29).

Blocked by

None — can start immediately

Draft note: none (builds on #44, #45, #46)

Deliverables (every ticket)

  • Tests through the public seam (see the spec's Testing Decisions)
  • XML docs citing clauses on public types
  • Conformance map rows updated in the same PR
  • PublicAPI.Unshipped.txt updated
  • Fuzz target and benchmark where the ticket adds a parser, codec or hot path

Activity

  1. added
    task
    ready-for-agent
    phase:7
    track:7B-hardening
    on Oct 10, 2026
  2. added
    in-progress
    on Nov 13, 2026
  3. michaelstonis commented on Nov 14, 2026

    @michaelstonis
    OwnerAuthor

    Merged into spec/33-broadside-v1 via #534.

  4. removed
    in-progress
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

phase:7ready-for-agenttasktrack:7B-hardening

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions