MockRegionResult interface

Module @runic-artifex/views/mock in @runic-artifex/views 0.23.0

interface MockRegionResult<TState>

What a region handler decides: the request's outcome (Committed by default) and more state changes. Without outcome, or with a Committed one, the mock applies the selection or close itself, as .NET does after the departure guards agreed; with another outcome, such as a guard's veto, it changes only state.

Properties

outcome

readonly outcome?: RegionOutcome;

No documentation.

state

readonly state?: Patch<TState>;

No documentation.