ThrottleCheckBox

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

A ThrottleCheckBox is a Checkbox that prevents multiple clicks in a short time. This callback emit the most recent items emitted by an Observable within periodic time intervals.

Parameters

skipInterval

skip interval; default interval is 2000Ms