La referencia de la API está disponible solo en inglés por ahora.

Rejection

interface
store/rejection.ts:28

A reducer's refusal to apply a write, carrying the reason.

Distinct from a reducer returning its state unchanged, which is indistinguishable from "the event did not concern me". A Rejection says *this write was considered and declined*, and it says why — which is what a contended store needs and what a lost update otherwise costs.

Properties

NameTypeDescription
[REJECTED]true
reasonstringWhy the write was refused. Surfaced to the caller and to onRejected.