throttleTick

@NotNull
open fun throttleTick(@NotNull runnable: Runnable): Runnable

Throttles this function by tick

Return

throttled function

Parameters

runnable

target


open fun <T> throttleTick(@NotNull supplier: Supplier<T>): @NotNull Supplier<T>

Throttles this function by tick

Return

throttled function

Parameters

supplier

target


open fun <T> throttleTick(@NotNull predicate: Predicate<T>): @NotNull Predicate<T>

Throttles this function by tick

Return

throttled function

Parameters

predicate

target


open fun <T, R> throttleTick(@NotNull function: (T) -> R): @NotNull (T) -> R

Throttles this function by tick

Return

throttled function

Parameters

function

target