HwEffect\<TData\>
pixi-reels / index / HwEffect
Type Alias: HwEffect<TData>
type HwEffect<TData> = { [K in keyof HoldAndWinBoardEvents<TData>]: { payload: HoldAndWinBoardEvents<TData>[K][0]; type: K } }[keyof HoldAndWinBoardEvents<TData>];
Defined in: board/HwTypes.ts:71
One state-change the reducer (HoldAndWinState) decided, ready for the
driver to emit. A tagged pair of { type, payload } for every board event the
reducer owns — the driver replays them onto its emitter and keys visual side
effects (e.g. playWin() on coin:locked) off the type. respin:start and
feature:skip are driver-owned (they describe in-flight reels, not ledger
state) and are not produced here.
Type Parameters
| Type Parameter | Default type |
|---|---|
TData | unknown |