RouterPreloadOptions
The options of Router.preload: those of a navigation, plus a signal that releases the preload when it aborts.
The options of Router.preload: those of a navigation, plus a signal that releases the preload when it aborts.
Import#
ts
import type { RouterPreloadOptions } from "@shadow-js/router";
Signature#
ts
interface RouterPreloadOptions extends NavigateToOptions {
/** Aborting it stops waiting for the loaders; a loader other consumers wait for keeps running. */
readonly signal?: AbortSignal;
}
Members#
| Name | Type | Description |
|---|---|---|
signal? |
readonly signal?: AbortSignal |
Aborting it stops waiting for the loaders; a loader other consumers wait for keeps running. |