NoRepeatProxyOptions
NoRepeatProxyOptions<
TData> =object
Defined in: packages/app-report/src/proxy/no-repeat-proxy.ts:7
Type Parameters
Section titled “Type Parameters”TData
Properties
Section titled “Properties”isEqual?
Section titled “isEqual?”
optionalisEqual?: (a,b) =>boolean
Defined in: packages/app-report/src/proxy/no-repeat-proxy.ts:18
Equality check between two data payloads. Default isDeepEqual.
Parameters
Section titled “Parameters”TData
TData
Returns
Section titled “Returns”boolean
maxCount?
Section titled “maxCount?”
optionalmaxCount?:number
Defined in: packages/app-report/src/proxy/no-repeat-proxy.ts:15
Max repeat count before a pending repeat summary is force-flushed. Default 200.
maxDelayMs?
Section titled “maxDelayMs?”
optionalmaxDelayMs?:number
Defined in: packages/app-report/src/proxy/no-repeat-proxy.ts:12
Max time since the last distinct data event before a pending repeat
summary is force-flushed. Default 5 seconds.
summary?
Section titled “summary?”
optionalsummary?: (count) =>ReportEventPayload<TData>
Defined in: packages/app-report/src/proxy/no-repeat-proxy.ts:24
Builds the event written in place of count suppressed repeats. Default:
an output event with a "last message repeated N time(s)" chunk.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”ReportEventPayload<TData>