Hierarchy

  • Topology

Properties

max: number
min: number
onConnect: ((peerId: PeerId, conn: Connection) => void)

Type declaration

onDisconnect: ((peerId: PeerId) => void)

Type declaration

    • (peerId: PeerId): void
    • Parameters

      Returns void

peers: Set<string>
setRegistrar: ((registrar: Registrar) => Promise<void>)

Type declaration