pub fn constant<T: Element>(value: T) -> Rc<dyn Stream<T>>
Returns a stream that ticks once with the specified value, on the first cycle.