You are reading the docs for 0.9. The latest version is 0.10. Read this page for 0.10 →

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.