kernl API
    Preparing search index...

    Interface SoulseekBackend

    A backend that can request a file from a Soulseek peer.

    interface SoulseekBackend {
        handoff?: true;
        download(
            user: string,
            path: string,
            context: BridgeContext,
        ): Promise<{ id: string; name: string }>;
    }

    Hierarchy (View Summary)

    Index
    handoff?: true

    True when the backend hands the locator to an app on the user's device rather than moving data itself. kernl then makes no connection for the resolution. Read on every availability check, so a backend that lets the user choose may switch it.

    • Parameters

      Returns Promise<{ id: string; name: string }>