debounced

@Composable
inline fun debounced(crossinline onClick: () -> Unit, debounceTime: Long = 1000): () -> Unit

Wraps an onClick lambda with another one that supports debouncing. The default deboucing time is 1000ms.

Return

debounced onClick