Rename event fulfill to resolve

This commit is contained in:
Dominic Ferrando
2026-07-17 10:41:21 -04:00
parent 5829021658
commit 29c55a1bf1
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ export class EventQueue<G extends string, T extends Record<string, EventTypeOpti
try {
Value.Assert(cfg.schemas.payload, event.payload);
await cfg.processor(event.payload, (state) => this.Events.setState(event.id, state), event.id);
await this.Events.fulfill(event.id);
await this.Events.resolve(event.id);
}
catch (err) {
await this.Events.setLastError(event.id, err);