Documentation
    Preparing search index...

    Interface PajaRelayConnectionSummary

    Per-relay connection outcomes observed while a pointer was being resolved.

    const summary: PajaRelayConnectionSummary = {
    total: 3, connected: [], pending: ['wss://slow.example'],
    failed: [{ url: 'wss://down.example', reason: 'connection failed' }],
    };
    interface PajaRelayConnectionSummary {
        connected: readonly string[];
        failed: readonly { reason: string; url: string }[];
        pending: readonly string[];
        total: number;
    }
    Index

    Properties

    connected: readonly string[]

    Relays whose WebSocket opened.

    failed: readonly { reason: string; url: string }[]

    Relays whose connection attempt failed, with the transport reason.

    pending: readonly string[]

    Relays still connecting when the query settled.

    total: number

    Distinct relays the resolver tried to reach.