RegistrationChange<EM extends EventMapBase = EventMapBase>
interfaceOne 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
| Name | Type | Description |
|---|---|---|
EM | extends EventMapBase |
Properties
| Name | Type | Description |
|---|---|---|
description? | string | |
dispatch? | "keyed" | "pattern" | Whether this registration is dispatched by key (O(1)) or by runtime matching. |
kind | "reducer" | "middleware" | "effect" | |
name? | string | Slice name for a reducer; meta.name for middleware and effects; absent when unnamed. |
op | "mounted" | "unmounted" | |
origin | Origin | |
owner? | string | Introspection 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. |