MockInteractionOptions interface

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

interface MockInteractionOptions

No documentation.

Properties

signal

readonly signal?: AbortSignal;

Cancels the request, as .NET does when its interaction is cancelled.

timeout

readonly timeout?: number;

How long the page may take to answer, in milliseconds, as the .NET interaction's lifetime ([RunicInteractionTimeout]): by default two minutes, Infinity for none. The push carries it as expiresAt; a request without a deadline has none (open-ended-interactions/1). The mock does not time the request out itself.