Function dvcompute::simulation::observable::random::new_random_observable [−][src]
pub fn new_random_observable<T, F, M>(
f: F
) -> impl Composite<Item = ObservableBox<Rc<Arrival<T>>>> where
F: Fn() -> M + 'static,
M: Parameter<Item = (f64, T)> + 'static,
T: 'static,
Expand description
Return an observable of random events that arrive with the specified delay.