Skip to content

feat(async): bounded blocking send for synchronous producers - #171

Merged
zackees merged 1 commit into
mainfrom
feat/blocking-channel-send
Sep 13, 2026
Merged

zackees merged 1 commit into
mainfrom
feat/blocking-channel-send

Conversation

@zackees

@zackees zackees commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Refs #170. Coordinated with FastLED/cli#239 and FastLED/cli#229.

Adds a facade-owned blocking-send adapter for synchronous output-reader threads. It uses the existing bounded queue, returns the unsent value on receiver closure/drop or entered-runtime rejection, and creates no runtime, thread, or extra buffer. Cancellation closes/drops the receiver; no independent timer is introduced.

Stacked on #169 to keep this diff scoped; HTTP must land first, then retarget this PR to main. FastLED adoption remains on a migration-only path patch until the upstream release is published.

Validation: focused RED was missing-method/type compilation failure; GREEN is 3 new generic tests. Full default kernel suite and strict all-target Clippy pass. One read-only pre-push reviewer found no actionable issues and independently reran the focused tests. FastLED adoption passes 255 Rust tests, strict Clippy, and 27 Python tests (1 skipped); its expanded boundary test fails before adoption and passes afterward.

Refs #170. Preserve queue backpressure and unsent values; reject entered runtimes and wake producers when receivers close or drop.
@zackees
zackees changed the base branch from feat/http-client-facade to main September 13, 2026 05:56
@zackees
zackees merged commit ff80d04 into main Sep 13, 2026
43 checks passed
@zackees
zackees deleted the feat/blocking-channel-send branch November 5, 2026 05:51
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