Type Parameters

  • T

Hierarchy

Implemented by

Properties

destroyed: boolean

Methods

  • Get all stored documents.

    Returns

    • When have some documents stored: emits once and completes.
    • When no documents are stored or the store is destroyed: completes without emitting.

    Returns Observable<T[]>

  • Similar to getAll, but does not complete. Instead, emits every time the collection is updated (via this store object). Emits empty array when no documents are stored.

    Returns Observable<T[]>

  • Store the full set of documents. getAll() after setAll(docs) should return the same set of 'docs'. Should never throw.

    Returns

    Emits undefined and completes. Completes without emitting if the store is destroyed.

    Parameters

    • docs: T[]

    Returns Observable<void>

Generated using TypeDoc