Skip to content

feat: provide a way to read out-channel until queue empty#34

Open
gammazero wants to merge 1 commit into
mainfrom
empty-signal
Open

feat: provide a way to read out-channel until queue empty#34
gammazero wants to merge 1 commit into
mainfrom
empty-signal

Conversation

@gammazero
Copy link
Copy Markdown
Collaborator

No description provided.

An "empty" channel returned by the `Empty` method. This channel is signaled when dsqueue currently has no more items. The Out channel can be read using a select with the Empty channle, allowing the caller to know when dsqueue has not more items to read.
@gammazero gammazero changed the title feat: provide better way to read queue until empty feat: provide a way to read out-channel until queue empty Jun 3, 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.

1 participant