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?
optionalincludeSubscriptions?: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?
optionalmatcher?:Matcher
Defined in: src/typedefs.ts:129
Leave undefined to include every operation.
mode
mode:
"chaos"
Defined in: src/typedefs.ts:127