Function mockSource

  • Like emitter, but with a ready() backpressure method. It also only supports a single active subscriber. (Useful for testing stream operators and sinks.)

    Type Parameters

    • T

    Returns MockSource<T>