RegistrationChange<EM extends EventMapBase = EventMapBase>

interface
types.ts:1763

One change to a store's registrations.

Self-sufficient on purpose: an observer should never need a follow-up __devtoolsIntrospect() call to act on what it was told.

Type parameters

NameTypeDescription
EMextends EventMapBase

Properties

NameTypeDescription
description?string
dispatch?"keyed" | "pattern"Whether this registration is dispatched by key (O(1)) or by runtime matching.
kind"reducer" | "middleware" | "effect"
name?stringSlice name for a reducer; meta.name for middleware and effects; absent when unnamed.
op"mounted" | "unmounted"
originOrigin
owner?stringIntrospection only, and only ever what a library passed.
state?"initialized" | "preserved" | "deleted" | "retained"Reducers only: what happened to the slice's state.
when?When<EM>The **normalized** matcher, as matchesWhen will actually use it.