Package-level declarations

Functions

Link copied to clipboard
fun debounce(waitInterval: Long = 2000, coroutineScope: CoroutineScope, callback: () -> Unit): () -> Unit
fun <T> debounce(waitInterval: Long = 2000, coroutineScope: CoroutineScope, callback: (T) -> Unit): (T) -> Unit
fun <T, G> debounce(waitInterval: Long = 2000, coroutineScope: CoroutineScope, callback: (T, G) -> Unit): (T, G) -> Unit
Link copied to clipboard
fun throttleFirst(skipInterval: Long, coroutineScope: CoroutineScope, callback: () -> Unit): () -> Unit
fun <T> throttleFirst(skipInterval: Long, coroutineScope: CoroutineScope, callback: (T) -> Unit): (T) -> Unit
fun <T, G> throttleFirst(skipInterval: Long, coroutineScope: CoroutineScope, callback: (T, G) -> Unit): (T, G) -> Unit
Link copied to clipboard
fun <T> throttleLatest(skipInterval: Long, coroutineScope: CoroutineScope, callback: (T) -> Unit): (T) -> Unit
fun <T, G> throttleLatest(skipInterval: Long, coroutineScope: CoroutineScope, callback: (T, G) -> Unit): (T, G) -> Unit