Channel vs OnResize delivery
Platform spec ADR
Channel vs OnResize delivery
Spec standingStandard
- Contracts and edge cases Resize polling and delivery requirements.
- Design model ConsoleMessage variants and resize notification surfaces.
- Examples Subscribing to resize via channel or event hub.
- Flow and algorithm PollResize and RunTick integration.
- Verification and traceability Resize channel tests and platform extern anchors.
0 revisions (git unavailable at build; counts may be empty)
No commits recorded for this path.
| Section id | Required | Found |
|---|---|---|
what-this-feature-specifies | yes | yes |
implementation-anchors | yes | yes |
Full tree: run pnpm verify:platform-spec-layout (writes src/generated/platform-spec-layout-report.json).
Context
Section titled “Context”Resize notifications must integrate with fiber concurrency without OS-thread callbacks.
Decision
Section titled “Decision”| Rule | Detail |
|---|---|
| Cross-fiber | PollResize → `Channel<ConsoleMessage>` |
| Same-fiber | OnResize event hub |
Consequences
Section titled “Consequences”No separate OS-thread callback API in v1.
Verification anchors
Section titled “Verification anchors”ConsoleMessageChannelTests.bd.