Skip to content

(feat) qol improvements for streaming api#20

Merged
danwritecode merged 5 commits into
masterfrom
feat/mpsc-api-qol
Apr 4, 2026
Merged

(feat) qol improvements for streaming api#20
danwritecode merged 5 commits into
masterfrom
feat/mpsc-api-qol

Conversation

@danwritecode

@danwritecode danwritecode commented Apr 4, 2026

Copy link
Copy Markdown
Owner

Moved MPSC channel creation into the build() method on looper streamer this way the user doesn't have to actually create this themselves.

Fixes #17

moved the creation of MSPC channel for looper/interface comms to the LooperStreamBuilder build() method to avoid the user having to manually pass the mpsc channel themselves.
because the struct just had 2 fields it felt eaiser to just move to a
tuple it also makes the interaction with the return type easier because
looper isn't nested like `looper.looper.send` for ex
@danwritecode danwritecode merged commit d620542 into master Apr 4, 2026
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.

(feat) MPSC channel abstraction across API usage

1 participant