Debounce Button
fun DebounceButton(onClick: () -> Unit, modifier: Modifier = Modifier, waitInterval: Long = Blocker.getInterval(), enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, elevation: ButtonElevation? = ButtonDefaults.buttonElevation(), shape: Shape = MaterialTheme.shapes.small, border: BorderStroke? = null, colors: ButtonColors = ButtonDefaults.buttonColors(), contentPadding: PaddingValues = ButtonDefaults.ContentPadding, content: @Composable RowScope.() -> Unit)
A DebounceButton is a button that prevents multiple clicks in a short time. This callback only emit an item from an Observable if a particular timespan has passed without it emitting another item.
Parameters
wait Interval
wait interval; default interval is 2000Ms