DebounceCheckBox

fun DebounceCheckBox(checked: Boolean, onCheckedChange: (Boolean) -> Unit?, modifier: Modifier = Modifier, waitInterval: Long = Blocker.getInterval(), enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: CheckboxColors = CheckboxDefaults.colors())

A DebounceCheckBox is a CheckBox 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

waitInterval

wait interval; default interval is 2000Ms