hit abstract method

FutureOr<RateLimitHit> hit(
  1. String key,
  2. Duration window
)

Records a request for key within window and returns the new state.

Implementation

FutureOr<RateLimitHit> hit(String key, Duration window);