five-on-it / packages/protocol/src/memory-transport / LossyOptions
Interface: LossyOptions
Defined in: packages/protocol/src/memory-transport.ts:32
How a lossy link treats its unreliable frames.
Properties
duplicate?
optionalduplicate?:number
Defined in: packages/protocol/src/memory-transport.ts:36
The share of them delivered twice.
loss?
optionalloss?:number
Defined in: packages/protocol/src/memory-transport.ts:34
The share of them lost (0 to 1).
reorderTicks?
optionalreorderTicks?:number
Defined in: packages/protocol/src/memory-transport.ts:38
Each is held back up to this many flushes more than the latency, at random.
seed?
optionalseed?:number
Defined in: packages/protocol/src/memory-transport.ts:40
The seed of the link's draws.