Skip to main content

MIDDLEWARE_PHASES

FitFileViewer - API Documentation v30.0.1


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

Variable: MIDDLEWARE_PHASES

const MIDDLEWARE_PHASES: { AFTER_GET: "afterGet"; AFTER_SET: "afterSet"; BEFORE_GET: "beforeGet"; BEFORE_SET: "beforeSet"; ON_ERROR: "onError"; ON_SUBSCRIBE: "onSubscribe"; ON_UNSUBSCRIBE: "onUnsubscribe"; }

Defined in: utils/state/core/stateMiddleware.ts:12

Middleware phases supported by the state middleware manager.

Type Declaration​

AFTER_GET​

readonly AFTER_GET: "afterGet" = "afterGet"

AFTER_SET​

readonly AFTER_SET: "afterSet" = "afterSet"

BEFORE_GET​

readonly BEFORE_GET: "beforeGet" = "beforeGet"

BEFORE_SET​

readonly BEFORE_SET: "beforeSet" = "beforeSet"

ON_ERROR​

readonly ON_ERROR: "onError" = "onError"

ON_SUBSCRIBE​

readonly ON_SUBSCRIBE: "onSubscribe" = "onSubscribe"

ON_UNSUBSCRIBE​

readonly ON_UNSUBSCRIBE: "onUnsubscribe" = "onUnsubscribe"