fix: keep tierlist saves consistent
Build and Deploy Next Preview / build-deploy (push) Successful in 2m52s

This commit is contained in:
2026-10-10 08:10:54 +00:00 Unverified
parent c8f9352fe9
commit 26a4331a08
15 changed files with 1051 additions and 76 deletions
+6 -1
View File
@@ -136,10 +136,15 @@ export class EventSourceEndpoint<T extends EventSourceEventMap> {
throw new Error(
"EventSourceEndpoint.pub(...) can only be called on the server.",
);
this.manager.publish(this.eventMap[event].parse(data), {
const publication = this.manager.publish(this.eventMap[event].parse(data), {
topic: this.endpoint,
event: String(event),
});
// Existing publishers intentionally fire-and-forget. Mark the rejection as
// observed for those callers while still returning the original promise to
// callers that need to await delivery.
void publication.catch(() => {});
return publication;
}
subMany(