ModuleCheck
0.12.5
0.13.0-SNAPSHOT
0.12.5
modulecheck-utils:coroutines
/
modulecheck.utils.coroutines
Package
modulecheck.
utils.
coroutines
Functions
Properties
Functions
any
Link copied to clipboard
suspend
fun
<
T
>
Flow
<
T
>
.
any
(
predicate
:
suspend
(
T
)
->
Boolean
)
:
Boolean
Content copied to clipboard
contains
Link copied to clipboard
suspend
fun
<
T
>
Flow
<
T
>
.
contains
(
element
:
T
)
:
Boolean
Content copied to clipboard
distinct
Link copied to clipboard
fun
<
T
>
Flow
<
T
>
.
distinct
(
)
:
Flow
<
T
>
Content copied to clipboard
filter
Async
Link copied to clipboard
fun
<
T
>
Iterable
<
T
>
.
filterAsync
(
predicate
:
suspend
(
T
)
->
Boolean
)
:
Flow
<
T
>
Content copied to clipboard
fun
<
T
>
Sequence
<
T
>
.
filterAsync
(
predicate
:
suspend
(
T
)
->
Boolean
)
:
Flow
<
T
>
Content copied to clipboard
fun
<
T
>
Flow
<
T
>
.
filterAsync
(
predicate
:
suspend
(
T
)
->
Boolean
)
:
Flow
<
T
>
Content copied to clipboard
flat
Map
List
Concat
Link copied to clipboard
suspend
fun
<
T
,
R
>
Flow
<
T
>
.
flatMapListConcat
(
destination
:
MutableList
<
R
>
=
mutableListOf()
,
transform
:
suspend
(
T
)
->
List
<
R
>
)
:
List
<
R
>
Content copied to clipboard
flat
Map
Set
Concat
Link copied to clipboard
suspend
fun
<
T
,
R
>
Flow
<
T
>
.
flatMapSetConcat
(
destination
:
MutableSet
<
R
>
=
mutableSetOf()
,
transform
:
suspend
(
T
)
->
Set
<
R
>
)
:
Set
<
R
>
Content copied to clipboard
map
Async
Link copied to clipboard
fun
<
T
,
R
>
Iterable
<
T
>
.
mapAsync
(
concurrency
:
Int
=
DEFAULT_CONCURRENCY
,
transform
:
suspend
(
T
)
->
R
)
:
Flow
<
R
>
Content copied to clipboard
fun
<
T
,
R
>
Sequence
<
T
>
.
mapAsync
(
concurrency
:
Int
=
DEFAULT_CONCURRENCY
,
transform
:
suspend
(
T
)
->
R
)
:
Flow
<
R
>
Content copied to clipboard
fun
<
T
,
R
>
Flow
<
T
>
.
mapAsync
(
concurrency
:
Int
=
DEFAULT_CONCURRENCY
,
transform
:
suspend
(
T
)
->
R
)
:
Flow
<
R
>
Content copied to clipboard
map
Async
Not
Null
Link copied to clipboard
fun
<
T
,
R
:
Any
>
Iterable
<
T
>
.
mapAsyncNotNull
(
transform
:
suspend
(
T
)
->
R
?
)
:
Flow
<
R
>
Content copied to clipboard
fun
<
T
,
R
:
Any
>
Sequence
<
T
>
.
mapAsyncNotNull
(
transform
:
suspend
(
T
)
->
R
?
)
:
Flow
<
R
>
Content copied to clipboard
fun
<
T
,
R
:
Any
>
Flow
<
T
>
.
mapAsyncNotNull
(
transform
:
suspend
(
T
)
->
R
?
)
:
Flow
<
R
>
Content copied to clipboard
on
Each
Async
Link copied to clipboard
fun
<
T
>
Iterable
<
T
>
.
onEachAsync
(
concurrency
:
Int
=
DEFAULT_CONCURRENCY
,
action
:
suspend
(
T
)
->
Unit
)
:
Flow
<
T
>
Content copied to clipboard
Properties
DEFAULT_CONCURRENCY
Link copied to clipboard
private
val
DEFAULT_CONCURRENCY
:
Int
Content copied to clipboard