Skip to content

CLI: stream output #2

@reitzig

Description

@reitzig

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions