Type Alias: DeduplicationOptions
ts
type DeduplicationOptions =
| {
id: string;
mode?: "simple" | "debounce";
ttl?: never;
}
| {
id: string;
mode: "throttle";
ttl?: number;
};Defined in: glide-mq/src/types.ts:222
Deduplication options. ttl only applies to mode: 'throttle', so only that variant accepts it. simple (the default when mode is omitted) skips while the job holding the id has not finished. debounce replaces a job that is still delayed or prioritized, by state rather than a time window.