Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Stream<T>

Type parameters

  • T

Hierarchy

  • Stream

Index

Constructors

Methods

  • Catch unstream errors and event subscriber errors. Upstream errors are handled by the folowing order:

    1. Be catched by error listeners registered by this method
    2. Go down to piped streams.
    3. If no piped stream, throw immediately.

    Parameters

    Returns Stream<T>

  • Subscribe to all events flow to the stream. This doesn't stop the events from going down to the piped streams.

    If an error is thrown in the event subscriber, it's handled by the following order:

    1. Be catched the errorCatcher parameter if given.
    2. Be catched by error listeners registered by catch method
    3. Throw immediately.

    Parameters

    Returns Stream<T>

Generated using TypeDoc