An item in the dial queue

interface PendingDial {
    id: string;
    multiaddrs: Multiaddr[];
    peerId?: PeerId;
    status: PendingDialStatus;
}

Properties

id: string

A unique identifier for this dial

multiaddrs: Multiaddr[]

The list of multiaddrs that will be dialled. The returned connection will use the first address that succeeds, all other dials part of this pending dial will be cancelled.

peerId?: PeerId

If known, this is the peer id that libp2p expects to be dialling

The current status of the dial