Core · interface
MessageQueueOptions
Explained in The loop.
interface MessageQueueOptionsimport type { MessageQueueOptions } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
dedupeWindowMsreadonlyoptional | number | How long the same id is ignored after being shown.MoreThe realistic source of duplicates is a caller pushing from a per-frame check rather than an edge — sixty identical toasts a second, a bug that presents as the interface freezing on one message. |
maxPendingreadonlyoptional | number | Backlog ceiling. Without one, a caller pushing in a loop grows the queue forever and the player spends the next minute watching notifications from something that happened once. |