Skip to content

IdleMarkProxyOptions

IdleMarkProxyOptions<TData> = object

Defined in: packages/app-report/src/proxy/idle-mark-proxy.ts:7

TData

optional idleDelayMs?: number

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

Delay after the last write before a mark is emitted. Default 20 minutes.


optional mark?: () => ReportEventPayload<TData>

Defined in: packages/app-report/src/proxy/idle-mark-proxy.ts:15

Builds the event written once the sink has been idle for idleDelayMs. Default: an output event with chunk: "MARK\n".

ReportEventPayload<TData>