Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Implement flush function on Async #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gabyx
Copy link

@gabyx gabyx commented Mar 16, 2024

@gabyx
Copy link
Author

gabyx commented Mar 16, 2024

Not really sure if that feature is needed: The use case was #35 :

  • Make the worker thread somehow stop processing records (not implemented)
  • Flush all pending stuff (till the crossbeam channels are empty) implemented
  • Output some prompt on letssay stderr.
  • Make the worker thread continue to process records.

So if we would have a term logger we could before prompting just use log.flush(...) and then show the prompt and wait for input etc...

@dpc
Copy link
Contributor

dpc commented Mar 17, 2024

Looks reasonable to me. Ping @Techcable as current maintainer.

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.

2 participants