Skip to main content

MIDDLEWARE_PHASES

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/state/core/stateMiddleware / MIDDLEWARE_PHASES

Variable: MIDDLEWARE_PHASES

const MIDDLEWARE_PHASES: { AFTER_GET: string; AFTER_SET: string; BEFORE_GET: string; BEFORE_SET: string; ON_ERROR: string; ON_SUBSCRIBE: string; ON_UNSUBSCRIBE: string; }

Defined in: utils/state/core/stateMiddleware.js:49

Middleware execution order

Type Declaration​

AFTER_GET​

AFTER_GET: string = "afterGet"

AFTER_SET​

AFTER_SET: string = "afterSet"

BEFORE_GET​

BEFORE_GET: string = "beforeGet"

BEFORE_SET​

BEFORE_SET: string = "beforeSet"

ON_ERROR​

ON_ERROR: string = "onError"

ON_SUBSCRIBE​

ON_SUBSCRIBE: string = "onSubscribe"

ON_UNSUBSCRIBE​

ON_UNSUBSCRIBE: string = "onUnsubscribe"