Type alias IBaseProtocolSDK
IBaseProtocolSDK: {
connectedPeers: Peer[];
numPeersToUse: number;
renewPeer: ((peerToDisconnect) => Promise<Peer | undefined>);
}
Type declaration
Readonly
connectedPeers: Peer[]
Readonly
numPeersToUse: number
renewPeer: ((peerToDisconnect) => Promise<Peer | undefined>)
- (peerToDisconnect): Promise<Peer | undefined>
Returns Promise<Peer | undefined>