Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AbstractStore

Represent some abstract store, Both Redux and NgRx are compatible

Hierarchy

  • AbstractStore

Index

Methods

dispatch

  • dispatch(action: any): void
  • Dispatch action

    Parameters

    • action: any

      action to dispatch, state-sync specially to not mae assumptions on action structure

    Returns void

subscribe

  • subscribe(subscriber: any): void
  • Subscribe to the store. This method is used during initialization and we sdo not care about unsubscribing. That is why return value is defined as void.

    Parameters

    • subscriber: any

      subscribing function

    Returns void

Generated using TypeDoc