Learn R Programming

languageserver (version 0.3.0)

throttle: throttle a function execution

Description

Execute a function if the last execution time is older than a specified value.

Usage

throttle(fun, t = 1)

Arguments

fun

the function to execute

t

an integer, the threshold in seconds