ExactWhen<EM extends EventMapBase>
typeThe exact forms of When: every form but channelPattern. What reducers and effects
accept.
Exact rather than pattern-matched on purpose, and refused rather than ignored: before 0.10.0 a
reducer or effect given a
channelPattern registered without complaint and then handled
nothing at all.Definition
type
type ExactWhen<EM extends EventMapBase> = Exclude<When<EM>, { channelPattern: string }>Exclude<When<EM>, { channelPattern: string }>
Type parameters
| Name | Type | Description |
|---|---|---|
EM | extends EventMapBase | Event map. |