toggle menu
micro_utils.dokka
0.20.18
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.coroutines
/
safeActor
safe
Actor
inline
fun
<
T
>
CoroutineScope
.
safeActor
(
channelCapacity
:
Int
=
Channel.UNLIMITED
,
noinline
onException
:
ExceptionHandler
<
Unit
>
=
defaultSafelyExceptionHandler
,
crossinline
block
:
suspend
(
T
)
->
Unit
)
:
Channel
<
T
>
(
source
)