throttleDroppable<E> static method
- Duration duration
Implementation
static EventTransformer<E> throttleDroppable<E>(Duration duration) {
return (Stream<E> events, Stream<E> Function(E) mapper) {
return droppable<E>().call(events.throttle(duration), mapper);
};
}