Skip to content

Add explicit cancellation and worker joining for Rust streams - #37

Merged
jph00 merged 1 commit into
mainfrom
pr/add-explicit-cancellation-and-worker-joining-for
Sep 9, 2026
Merged

jph00 merged 1 commit into
mainfrom
pr/add-explicit-cancellation-and-worker-joining-for

Conversation

@jph00

@jph00 jph00 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Add StreamIter::cancel_and_join() for callers that need to wait until background walking has stopped. Drain the result channel before joining so blocked producers cannot deadlock shutdown; Drop remains nonblocking.

Document that in-progress filesystem calls must finish and that callers should keep this blocking operation off async executors. Add a regression test covering a full channel and worker completion.

@jph00 jph00 added the enhancement New feature or request label Sep 9, 2026
@jph00
jph00 merged commit 7f87b91 into main Sep 9, 2026
@jph00
jph00 deleted the pr/add-explicit-cancellation-and-worker-joining-for branch September 9, 2026 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant