Method OnStopAccepting()

Assembly: redb.Route.Telegram.dll

Called at the beginning of Stop() before poll cancel. Override for protocol-level unsubscribe.

protected override Task OnStopAccepting()

Remarks

Step 1 of 's stop sequence: detach the event handlers BEFORE the
drain so the internal getUpdates loop stops delivering. Otherwise every update arriving during
the drain window would increment the in-flight counter and the drain could never reach zero.