toggle menu
micro_utils.dokka
0.20.14
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.coroutines
/
safeActorAsync
safe
Actor
Async
inline
fun
<
T
>
CoroutineScope
.
safeActorAsync
(
channelCapacity
:
Int
=
Channel.UNLIMITED
,
noinline
onException
:
ExceptionHandler
<
Unit
>
=
defaultSafelyExceptionHandler
,
noinline
markerFactory
:
suspend
(
T
)
->
Any
?
=
{ null }
,
crossinline
block
:
suspend
(
T
)
->
Unit
)
:
Channel
<
T
>
(
source
)