Home Reference Source Repository

Function

Static Public Summary
public

configure(appOpts: *): *

public

configureMiddleware(opts: *): *

Creates middleware from opts including validation in development

public

configureReducer(opts: *): *

Creates reducer from opts including validation in development

public

createContext(objectPattern: {"appName": *, "IDLE_STATUSES": *, "idleStatusDelay": *, "activeStatusAction": *, "idleStatusAction": *, "activeEvents": *, "useFastStore": *, "useLocalStore": *, "useWebRTCState": *, "useWebSocketsState": *, "thresholds": *, "level": *}): *

Static Public

public configure(appOpts: *): * source

import configure from 'redux-idle-monitor'

Params:

NameTypeAttributeDescription
appOpts *

Return:

*

public configureMiddleware(opts: *): * source

import configureMiddleware from 'redux-idle-monitor/lib/middleware.js'

Creates middleware from opts including validation in development

Params:

NameTypeAttributeDescription
opts *

Return:

*

public configureReducer(opts: *): * source

import configureReducer from 'redux-idle-monitor/lib/reducer.js'

Creates reducer from opts including validation in development

Params:

NameTypeAttributeDescription
opts *

Return:

*

public createContext(objectPattern: {"appName": *, "IDLE_STATUSES": *, "idleStatusDelay": *, "activeStatusAction": *, "idleStatusAction": *, "activeEvents": *, "useFastStore": *, "useLocalStore": *, "useWebRTCState": *, "useWebSocketsState": *, "thresholds": *, "level": *}): * source

import createContext from 'redux-idle-monitor/lib/context.js'

Params:

NameTypeAttributeDescription
objectPattern {"appName": *, "IDLE_STATUSES": *, "idleStatusDelay": *, "activeStatusAction": *, "idleStatusAction": *, "activeEvents": *, "useFastStore": *, "useLocalStore": *, "useWebRTCState": *, "useWebSocketsState": *, "thresholds": *, "level": *}
  • optional
  • default: {}

Return:

*