CoalesceProxyOptions
CoalesceProxyOptions<
TData> =object
Defined in: packages/app-report/src/proxy/coalesce-proxy.ts:4
Type Parameters
Section titled “Type Parameters”TData
Properties
Section titled “Properties”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).
Parameters
Section titled “Parameters”ReportEvent<TData>
Returns
Section titled “Returns”string | null
maxHoldMs?
Section titled “maxHoldMs?”
optionalmaxHoldMs?: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.