I'm looking for a way to be notified once an event grid topic has no more queued events. I was hoping event grid like many Azure services could emit events on certain things happening but it doesn't appear to be so. Ideally I'd like avoid polling the topic to check if the queue is empty.
The event grid topic isn't used that often, but when it is it'll receive a dump of ~1M events which will take an hour or two for the azure function subscriber to chew through. I'm looking for a sort of 'queue empty' notification so I can do some post processing tasks which currently I'm having to do manually.