Skip to content

Question about error/completion contract with streams #615

Closed
@3n-mb

Description

@3n-mb

Observables are commonly done to fulfill this contract
Do Stream's adhere to it? And if not, it which point is it different?

  1. Error or completion may happen only once. No more events expected, after one of these happens. Do Stream's act this way?
  2. If we have a chain stream.op1(...).op2(...).op3(...), and let's assume there is a parallel execution at points 1 and 3, when error happens at 3. Execution in 1 may not be stopped, its fine. But, when execution at 1 is done, will result go into point 2, to start execution there, or, will the stream flow be stopped?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions