method net.duplicate
Probability (0..1) that a message is delivered twice.
Example:
use std.test { net }
test sim "duplicated messages" seeds 1..=2 {
net.duplicate(0.05)
}pub(api) static fn duplicate(p: f64)С версии. 1.0.0-beta
Параметры
| Имя | Тип |
|---|---|
p | f64 |
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/test/test.oxl:125