toggle menu
JchuComponents
androidJvm
switch theme
search in API
jchucomponents-core
/
com.jeluchu.jchucomponents.utils.coroutines
Package-level
declarations
Functions
Functions
do
On
Global
Link copied to clipboard
@
DelicateCoroutinesApi
fun
doOnGlobal
(
enableLog
:
Boolean
=
true
,
onLog
:
(
text
:
String
)
->
Unit
=
{}
,
func
:
suspend
(
)
->
Unit
)
do
On
Main
Link copied to clipboard
@
DelicateCoroutinesApi
fun
doOnMain
(
enableLog
:
Boolean
=
true
,
onLog
:
(
text
:
String
)
->
Unit
=
{}
,
func
:
suspend
(
)
->
Unit
)
do
On
UI
Link copied to clipboard
@
DelicateCoroutinesApi
fun
doOnUI
(
enableLog
:
Boolean
=
true
,
onLog
:
(
text
:
String
)
->
Unit
=
{}
,
func
:
suspend
(
)
->
Unit
)
no
Crash
Link copied to clipboard
fun
noCrash
(
enableLog
:
Boolean
=
true
,
func
:
(
)
->
Unit
)
:
String
?
no
Crash
Suspend
Link copied to clipboard
suspend
fun
noCrashSuspend
(
enableLog
:
Boolean
=
true
,
func
:
suspend
(
)
->
Unit
)
:
String
?