LinkConditions
class LinkConditions(val lossRate: Double = 0.0, val duplicationRate: Double = 0.0, val latency: Duration = Duration.ZERO, val jitter: Duration = Duration.ZERO)(source)
How an InMemoryNetwork treats each datagram: it may lose it, deliver it twice, or deliver it late. Different delays for consecutive datagrams reorder them, which is how reordering is simulated.
Decisions are drawn from the network's seeded random source, so a test run is reproducible.