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

CLI: stream output #2

Open
reitzig opened this issue Apr 12, 2018 · 0 comments
Open

CLI: stream output #2

reitzig opened this issue Apr 12, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@reitzig
Copy link
Owner

reitzig commented Apr 12, 2018

Currently, the CLI script can read and parse in streaming mode, but prints the result only after the whole input has been consumed.

Change it so that recognized messages get printed immediately.

On the API level, give users a choice:

  1. Pass only the input, get the whole output back in the end. (current behaviour)
  2. Pass input and a block, call the block for each finished message.
@reitzig reitzig added the enhancement New feature or request label Apr 12, 2018
@reitzig reitzig self-assigned this Apr 12, 2018
@reitzig reitzig removed their assignment Apr 1, 2024
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

No branches or pull requests

1 participant