Skip to content

Conversation

rukolahasser
Copy link

Add drain_and_stop() to gracefully shut down stream.

@rukolahasser rukolahasser changed the title stream graceful shutdown Stream graceful shutdown Dec 27, 2024
@SozinM
Copy link
Contributor

SozinM commented Jan 8, 2025

Looks good IMO, @JasoonS

@JasoonS
Copy link
Contributor

JasoonS commented Jan 14, 2025

We will need to propagate this change to the stream function and similar places - other-than-that this looks good! Thanks!

Another thing I'm thinking about is it would be really nice if the user were to immediately receive the expected end block of the range that will be scanned when it is drained.

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.

3 participants