Minimal interface for a rate limiter compatible with PolarityRequest.
Only requires the schedule method, which is the sole method used internally.
The Polarity server provides a full Limiter instance (from
@polarityio/integration-types) that satisfies this interface, but consumers
may also pass simpler objects or mocks that only implement schedule.
Minimal interface for a rate limiter compatible with PolarityRequest. Only requires the
schedulemethod, which is the sole method used internally. The Polarity server provides a fullLimiterinstance (from@polarityio/integration-types) that satisfies this interface, but consumers may also pass simpler objects or mocks that only implementschedule.