interface MockTypedViewRequest<TInput> A view request (view-requests/1) that the ViewModel raises for the browser to handle.
Properties
handled
readonly handled: boolean; Whether an open client presentation of this View currently registered a handler for it.
Methods
raise
raise(input: TInput): number; Raises the request, as the ViewModel's ViewRequest.Raise(input) does: pushes it to every presentation of this View that registered a handler, and returns how many it reached. 0 means that none handles it; the request is not kept or replayed. Inside a command handler or batch, it is pushed after their state changes.