Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RxStore

Base class for defining an app's storage data. Use the define***() methods to stand up your core storage infrastructure.

Hierarchy

  • RxStore

Index

Constructors

constructor

Properties

Protected Readonly effectSubscriptions

effectSubscriptions: Subsink = ...

Protected Readonly entityMaps

entityMaps: Set<RxEntityMap<any, any, RxMap<any, any, Map<any, any>>>> = ...

Protected Readonly oneToManyRelationships

oneToManyRelationships: Set<OneToManyRelationship<any, any, any>> = ...

Protected Readonly properties

properties: Set<BehaviorSubject<any>> = ...

Methods

Protected defineEntity

Protected defineEntityForeignKey

Protected defineProperty

  • defineProperty<V>(startValue: V): BehaviorSubject<V>
  • Type parameters

    • V

    Parameters

    • startValue: V

    Returns BehaviorSubject<V>

destroy

  • destroy(): void

Protected onDestroyEntityMap

  • onDestroyEntityMap(entityMap: RxEntityMap<any, any, RxMap<any, any, Map<any, any>>>): void

Protected onDestroyOneToManyRelationship

Protected onDestroyProperty

  • onDestroyProperty(property: BehaviorSubject<any>): void
  • Parameters

    • property: BehaviorSubject<any>

    Returns void

Protected registerEffect

  • registerEffect<T>(effect: Observable<T>): Observable<T>
  • Type parameters

    • T

    Parameters

    • effect: Observable<T>

    Returns Observable<T>

Protected registerEntity

Protected registerProperty

  • registerProperty<V>(property: BehaviorSubject<V>): BehaviorSubject<V>
  • Type parameters

    • V

    Parameters

    • property: BehaviorSubject<V>

    Returns BehaviorSubject<V>

Generated using TypeDoc