libp2p
    Preparing search index...

    Interface RoutingOptions

    When a routing operation involves reading values, these options allow controlling where the values are read from. By default libp2p will check local caches but may not use the network if a valid local value is found, these options allow tuning that behavior.

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

    Hierarchy (View Summary)

    Index

    Properties

    onProgress?: (evt: any) => void
    signal?: AbortSignal
    trace?: any
    useCache?: boolean

    Pass false to not use cached values

    true
    
    useNetwork?: boolean

    Pass false to not use the network

    true