Throttle constructor

Throttle(
  1. Duration duration
)

Creates a throttle with a specific cool-down duration.

Implementation

Throttle(this.duration);