Throttle Button
fun ThrottleButton(onClick: () -> Unit, modifier: Modifier = Modifier, skipInterval: 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 ThrottleButton is a button that prevents multiple clicks in a short time. This callback emit the most recent items emitted by an Observable within periodic time intervals.
Parameters
skip Interval
skip interval; default interval is 2000Ms