PeerstoreManager class

PeerstoreManager manages the peerstore by removing peers that have disconnected and haven't reconnected within a grace period.

Constructors

PeerstoreManager.new(Peerstore _pstore, EventBus _eventBus, Network _network, {List<Option>? opts})
Creates a new PeerstoreManager.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes the PeerstoreManager.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() Future<void>
Starts the PeerstoreManager.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited