ThrottleStreamTransformer<T>.milliseconds constructor

ThrottleStreamTransformer<T>.milliseconds(
  1. int milliseconds
)

Transforms a stream by throttling stream values by milliseconds

Implementation

factory ThrottleStreamTransformer.milliseconds(int milliseconds) =>
    ThrottleStreamTransformer(Duration(milliseconds: milliseconds));