Function throttle

Source
pub(super) fn throttle<T>(duration: Duration, stream: T) -> Throttle<T>
where T: Stream,