endHolePunch method
Called when a hole punch ends
Implementation
@override
void endHolePunch(PeerId peerId, Duration dt, Object? err) {
if (!_enabled) return;
if (err == null) {
_log.fine('Hole punch with $peerId successful in ${dt.inMilliseconds}ms');
} else {
_log.fine('Hole punch with $peerId failed in ${dt.inMilliseconds}ms: $err');
}
}