ensuring that enqueued events are emitted after commit complete