throttleTick

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

Throttles this function by tick

Return

throttled function

Parameters

<T>

type

supplier

target


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

Throttles this function by tick

Return

throttled function

Parameters

<T>

type

tick

tick

supplier

target


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

Throttles this function by tick

Return

throttled function

Parameters

<T>

type

predicate

target


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

Throttles this function by tick

Return

throttled function

Parameters

<T>

from

<R>

return

function

target


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

Throttles this function by tick

Return

throttled function

Parameters

<T>

from

<R>

return

tick

tick

function

target