Interface Readable<T>

This interface augments the base SubscribableStore interface by requiring the return value of the subscribe method to be both a function and an object with the unsubscribe method.

For interoperability with rxjs, it also implements the [Symbol.observable] method.

interface Readable<T> {
    [observable](): Readable<T>;
    subscribe(subscriber): UnsubscribeFunction & UnsubscribeObject;
}

Type Parameters

  • T

Hierarchy (view full)

Implemented by

Methods

Generated using TypeDoc