Interface RoutingOptions

When a routing operation involves reading values, these options allow controlling where the values are read from. Some implementations support a local cache that may be used in preference over network calls, for example when a record has a TTL.

interface RoutingOptions {
    onProgress?: ((evt) => void);
    signal?: AbortSignal;
    useCache?: boolean;
    useNetwork?: boolean;
    validate?: boolean;
}

Hierarchy

Properties

onProgress?: ((evt) => void)

Type declaration

    • (evt): void
    • Parameters

      • evt: any

      Returns void

signal?: AbortSignal
useCache?: boolean

Pass false to not use cached values

Default

true
useNetwork?: boolean

Pass false to not use the network

Default

true
validate?: boolean

Pass false to not perform validation

Default

true