update method
Implementation
Future<void> update(ExpiringAddr a) async {
await _lock.synchronized(() async {
if (a.heapIndex == -1) {
return;
}
if (a.isConnected()) {
remove(a.heapIndex);
} else {
_siftDown(a.heapIndex);
_siftUp(a.heapIndex);
}
});
}