EmitOptions
interfacePer-emit options.
Properties
| Name | Type | Description |
|---|---|---|
dedupKey? | string | Opt this specific emit into **identity-based** deduplication: if another
event with the same (channel, type, dedupKey) was emitted within the dedup
window, this one is skipped. Unlike content-based dedup
(StoreSpec.dedupWindowMs), it never coalesces two *distinct* logical
emits that merely share a payload — only re-fires of the *same* keyed emit
(e.g. a React Strict Mode double-invoke). Works even when dedupWindowMs
is 0, using a short default window. |