BridgeViewRequestContext interface

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

interface BridgeViewRequestContext

What a view request handler receives besides its input.

Properties

signal

readonly signal: AbortSignal;

Aborts when the handler is replaced or unregistered, the View is disposed, or the connection is lost. A handler that works asynchronously, such as an animated scroll, stops when it aborts.