Skip to content

CoalesceProxyOptions

CoalesceProxyOptions<TData> = object

Defined in: packages/app-report/src/proxy/coalesce-proxy.ts:4

TData

keyOf: (event) => string | null

Defined in: packages/app-report/src/proxy/coalesce-proxy.ts:9

Maps an event to the key it coalesces on, or null for an event that must never be held (passed straight through, flushing whatever is pending).

ReportEvent<TData>

string | null


optional maxHoldMs?: number

Defined in: packages/app-report/src/proxy/coalesce-proxy.ts:12

Force-flushes a pending event after this long, even with no new arrival.