SlidingTimeWindowReservoir constructor
SlidingTimeWindowReservoir(
- Duration window, [
- Clock clock = const Clock()
Creates a new SlidingTimeWindowReservoir with the given clock and
duration
.
Implementation
SlidingTimeWindowReservoir(
this.window, [
this.clock = const Clock(),
]);