The event will be thrown when it’s deleted from the DB, then Scout will trigger the event in Algolia. But the only way to know it was deleted from Algolia is to call the api check the TaskID.
The task ID is returned by Algolia clients but scout will not pass it along.
I’m not sure what the best way would be here. I’ll think about it.