micro_utils.dokka
Toggle table of contents
0.24.0
common
Platform filter
common
Switch theme
Search in API
micro_utils.dokka
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
)