toggle menu
blocker
androidJvm
switch theme
search in API
blocker
/
com.leaf.blocker.extend
Package-level
declarations
Functions
Functions
debounce
Link copied to clipboard
fun
debounce
(
waitInterval
:
Long
=
2000
,
coroutineScope
:
CoroutineScope
,
callback
:
(
)
->
Unit
)
:
(
)
->
Unit
fun
<
T
>
debounce
(
waitInterval
:
Long
=
2000
,
coroutineScope
:
CoroutineScope
,
callback
:
(
T
)
->
Unit
)
:
(
T
)
->
Unit
fun
<
T
,
G
>
debounce
(
waitInterval
:
Long
=
2000
,
coroutineScope
:
CoroutineScope
,
callback
:
(
T
,
G
)
->
Unit
)
:
(
T
,
G
)
->
Unit
throttle
First
Link copied to clipboard
fun
throttleFirst
(
skipInterval
:
Long
,
coroutineScope
:
CoroutineScope
,
callback
:
(
)
->
Unit
)
:
(
)
->
Unit
fun
<
T
>
throttleFirst
(
skipInterval
:
Long
,
coroutineScope
:
CoroutineScope
,
callback
:
(
T
)
->
Unit
)
:
(
T
)
->
Unit
fun
<
T
,
G
>
throttleFirst
(
skipInterval
:
Long
,
coroutineScope
:
CoroutineScope
,
callback
:
(
T
,
G
)
->
Unit
)
:
(
T
,
G
)
->
Unit
throttle
Latest
Link copied to clipboard
fun
<
T
>
throttleLatest
(
skipInterval
:
Long
,
coroutineScope
:
CoroutineScope
,
callback
:
(
T
)
->
Unit
)
:
(
T
)
->
Unit
fun
<
T
,
G
>
throttleLatest
(
skipInterval
:
Long
,
coroutineScope
:
CoroutineScope
,
callback
:
(
T
,
G
)
->
Unit
)
:
(
T
,
G
)
->
Unit