interface MockRegionDefinition A region collection of a mock View (region-collections/1).
Properties
close
readonly close: boolean; Whether the page can close a region; a close of a collection without it is unavailable.
decide
readonly decide?: (state: MockState, request: MockRegionRequest) => MockRegionDecision | void | Promise<MockRegionDecision | void>; Decides a request whose key names a region, standing in for the departure guards. Without it, every request commits. A thrown error answers the request failed. While a decision is pending, a close of the same region joins it and is answered with its outcome, and any other request of the collection supersedes it: the pending request, and the closes that joined it, answer Superseded, and their decision is ignored.