Hierarchy

  • TopologyInit

Properties

max?: number

maximum needed connections

min?: number

minimum needed connections

onConnect?: onConnectHandler

Invoked when a new peer is connects that supports the configured protocol

onDisconnect?: onDisconnectHandler

Invoked when a peer that supports the configured protocol disconnects