Skip to content

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? ​

optional duplicate?: number

Defined in: packages/protocol/src/memory-transport.ts:36

The share of them delivered twice.


loss? ​

optional loss?: number

Defined in: packages/protocol/src/memory-transport.ts:34

The share of them lost (0 to 1).


reorderTicks? ​

optional reorderTicks?: 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? ​

optional seed?: number

Defined in: packages/protocol/src/memory-transport.ts:40

The seed of the link's draws.