Architecture decision record · ADR-0009

Async functions and one reactive resource

Each capability function is a plain async function that accepts { signal }.

Status
Proposed
Deciders
Joe Gaudet
Created
Updated
PRD
PRD
Related
None

Context

Templates need load state for provider calls. Autocomplete needs debounce and must drop old responses.

Decision drivers

Not recorded in the original ADR.

Options considered

Not recorded in the original ADR.

Decision

  • Each capability function is a plain async function that accepts { signal }.
  • @meridian-ts/ember has one query resource with value, isLoading and error, a debounce option, and abort on input change.
  • M3 uses an installed library for this if one fits.

Consequences

  • The provider layer has no Ember dependency.
  • A consumer can use ember-concurrency or WarpDrive on the plain functions.

Confirmation

Not recorded in the original ADR.

Interview record

Each question of the interview with its answer and its source. A fact from the code or a document, a question that the author did not ask, and an assumption are rows too.

QuestionAnswerSource
Where does the text of this page come from?From the Markdown file docs/adr/0009-async-resources.md at commit ece53da. The text of each section is the text of the Markdown file. A section that the Markdown file does not have says so.Document: docs/adr/0009-async-resources.md

Changelog

DateAuthorChange
2026-12-02Joe GaudetStatus in the Markdown file: Proposed (plan, 2026-12-02). M0 confirms it.
2026-12-02Joe GaudetCommit bca5c8f: Add the plan and the decisions for Meridian
2026-12-04Joe Gaudet (agent)Converted from docs/adr/0009-async-resources.md to this page. The text is the text of the Markdown file.

The adr skill of skillsaw wrote this page. The HTML in this file is the source of truth. The diagrams are the Mermaid sources in it.