Skip to main content

Type Alias: ChaosTransportSimulationOptions

ChaosTransportSimulationOptions = object

Defined in: src/typedefs.ts:126

Randomized simulation rules for matching passthrough operations.

Properties​

errorProbability​

errorProbability: number

Defined in: src/typedefs.ts:133

Percentage from 0 through 100.


includeSubscriptions?​

optional includeSubscriptions?: boolean

Defined in: src/typedefs.ts:135

Off by default because subscriptions are long-lived.


latency​

latency: object

Defined in: src/typedefs.ts:131

Inclusive when both bounds are whole milliseconds.

maxMs​

maxMs: number

minMs​

minMs: number


matcher?​

optional matcher?: Matcher

Defined in: src/typedefs.ts:129

Leave undefined to include every operation.


mode​

mode: "chaos"

Defined in: src/typedefs.ts:127