Throttle constructor

Throttle(
  1. Duration interval
)

Creates a throttle with the given interval.

Actions will be executed at most once per interval duration.

Implementation

Throttle(this.interval);