Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SyncService

Hierarchy

  • SyncService

Implements

Index

Constructors

constructor

Properties

Private areas

Private config

config: SyncConfig

Private connection

connection: StompConnection

Private connectionStatusListener

connectionStatusListener: IConnectionStatusListener

Private store

Methods

connect

  • connect(store: any, url: string, config: SyncConfig): void

declareArea

  • declareArea(name: string, initialState: any, reducer?: any): any
  • Declare sync area and return reducer for this area

    Parameters

    • name: string
    • initialState: any
    • Optional reducer: any

    Returns any

    reducer

declareStatusArea

  • declareStatusArea(): any

dispatch

  • dispatch(action: object): void

Private onReady

  • onReady(): void

send

Generated using TypeDoc