Consolidate event entries and then send them all in a single request at the next process tick.
This greatly reduces number of API requests in case of batch requests, i.e. listing multiple
entities in same GraphQL request.
This method is a process.nextTick callback and should never be called directly.
Returns void
Private_transitionToQueued
_transitionToQueued(): void
Private
Transitions to a queued state.
Creates new Promise (or replaces it with the one which was already promised to someone), adds
new process.nextTick handler and updates the internal state.
Event queue class.
Consolidate event entries and then send them all in a single request at the next process tick. This greatly reduces number of API requests in case of batch requests, i.e. listing multiple entities in same GraphQL request.