feat: complete remaining jetstream parity implementation plan
This commit is contained in:
@@ -21,4 +21,11 @@ public sealed class AckProcessor
|
||||
}
|
||||
|
||||
public bool HasPending => _pending.Count > 0;
|
||||
public int PendingCount => _pending.Count;
|
||||
|
||||
public void AckAll(ulong sequence)
|
||||
{
|
||||
foreach (var key in _pending.Keys.Where(k => k <= sequence).ToArray())
|
||||
_pending.Remove(key);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user