throttle: Generate A Rate Limiting Throttle Function

View source: R/check_process.R

throttleR Documentation

Generate A Rate Limiting Throttle Function

Description

Generate A Rate Limiting Throttle Function

Usage

throttle(interval = 0.2)

Arguments

interval

An interval (in seconds) that is the minimum interval before throttle will return TRUE.

Value

A throttling function with the provided interval. When called, returns a logical value indicating whether the throttle interval has passed (TRUE if the interval has not yet passed).


checked documentation built on June 10, 2025, 9:08 a.m.