helia
    Preparing search index...
    interface Routing {
        name: string;
        cancelReprovide(key: CID, options?: AbortOptions): Promise<void>;
        findPeer(
            peerId: PeerId,
            options?: RoutingOptions<RoutingFindPeerProgressEvents>,
        ): Promise<PeerInfo>;
        findProviders(
            cid: CID,
            options?: RoutingOptions<RoutingFindProvidersProgressEvents>,
        ): AsyncIterable<Provider>;
        get(
            key: Uint8Array,
            options?: RoutingOptions<RoutingGetProgressEvents>,
        ): Promise<Uint8Array<ArrayBufferLike>>;
        getClosestPeers(
            key: Uint8Array,
            options?: RoutingOptions<RoutingGetClosestPeersProgressEvents>,
        ): AsyncIterable<PeerInfo>;
        provide(
            cid: CID,
            options?: RoutingOptions<RoutingProvideProgressEvents>,
        ): Promise<void>;
        put(
            key: Uint8Array,
            value: Uint8Array,
            options?: RoutingOptions<RoutingPutProgressEvents>,
        ): Promise<void>;
    }
    Index

    Properties

    name: string

    The name of this routing implementation

    Methods