We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a9b9c3 commit c8e05b2Copy full SHA for c8e05b2
packages/event-processor/src/pendingEventsDispatcher.ts
@@ -66,8 +66,7 @@ export class PendingEventsDispatcher implements EventDispatcher {
66
protected send(entry: DispatcherEntry, callback: EventDispatcherCallback): void {
67
this.store.set(entry.uuid, entry).then(() => {
68
this.dispatcher.dispatchEvent(entry.request, response => {
69
- this.store.remove(entry.uuid)
70
- callback(response)
+ this.store.remove(entry.uuid).then(() => callback(response))
71
})
72
73
}
0 commit comments