Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetStockNotificationForCurrentUser

Implements GetStockNotificationForCurrentUser fetch for the Redux store

export

Hierarchy

Index

Constructors

constructor

Properties

actions

actions: {}

The actions for the fetchable data

memberof

StoreFetchableData

Type declaration

  • [key: string]: any

Protected dispatchCount

dispatchCount: number = 0

The dispatch count. Used for the dispatchId

memberof

StoreFetchableData

Protected Optional fetchOptions

fetchOptions: any

name

name: string

The store section name Used to name the rootState member and postfixed to all actions

memberof

StoreFetchableData

reducer

The reducers for the fetchable data

memberof

StoreFetchableData

Protected Optional requestOptions

Protected url

url: string

The url to fetch the data from

Accessors

initialState

Methods

createFetchAction

createResponseAction

  • createResponseAction(response?: RES): any

fetchData

  • fetchData(action: any, timeout?: undefined | number, authorisationToken?: undefined | string, endPointURL?: undefined | string): Promise<StockNotificationResponse>

getError$

  • getError$(): Observable<Error | null>

getPropertyState$

  • getPropertyState$(propertyPath: string | string[]): Observable<any>

Protected getReducerFunctions

  • getReducerFunctions(): {}

getRequest$

getResponse$

getState

getState$

getUrl

  • getUrl(): string

isFetching$

  • isFetching$(): Observable<boolean>

saga

  • saga(): Generator<ForkEffect, void, unknown>

timeout

  • timeout(ms: number): Promise<any>