Skip to content

1681-engine / index / ContextLossPolicy

Interface: ContextLossPolicy ​

Defined in: src/diagnostics/contextLoss.ts:8

Properties ​

maxLosses? ​

ts
optional maxLosses?: number;

Defined in: src/diagnostics/contextLoss.ts:10

Losses tolerated inside windowMs before giving up (default 3).


windowMs? ​

ts
optional windowMs?: number;

Defined in: src/diagnostics/contextLoss.ts:12

How far back losses are counted, ms (default two minutes).

Released under the MIT License.