task4: implement batch38 group C ack and delivery state

This commit is contained in:
Joseph Doherty
2026-03-01 00:30:22 -05:00
parent 804bc89246
commit bb9558e6a9
8 changed files with 741 additions and 12 deletions

View File

@@ -134,17 +134,6 @@ internal sealed partial class NatsConsumer
internal bool HasDeliveryInterest()
{
_mu.EnterReadLock();
try
{
if (_closed || string.IsNullOrWhiteSpace(Config.DeliverSubject))
return false;
return _internalSubscriptions.Contains(Config.DeliverSubject!);
}
finally
{
_mu.ExitReadLock();
}
return HasDeliveryInterest(_hasLocalDeliveryInterest);
}
}