MockAvailability type alias

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

type MockAvailability = (state: MockState, input: unknown) => boolean;

Whether a command is available for a wire input (can, and the check before the command runs). A thrown error with a kind and reason, such as { kind: "rejected", reason: "unresolved-key" }, rejects the command and its start with them, and can answers false.