Documentation
    Preparing search index...

    Type Alias PeerCache

    A cache interface for persisting peer information.

    type PeerCache = {
        get: () => PartialPeerInfo[];
        remove: () => void;
        set: (value: PartialPeerInfo[]) => void;
    }
    Index

    Properties

    Properties

    get: () => PartialPeerInfo[]

    Get the peer information from the cache.

    Type declaration

    remove: () => void

    Remove the peer information from the cache.

    set: (value: PartialPeerInfo[]) => void

    Set the peer information in the cache.

    Type declaration