ApiResult
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ApiResult
core
/
pro.respawn.apiresult
/
flow
flow
@
JvmName
(
name
=
"flowWithResult"
)
inline
fun
<
T
>
ApiResult.Companion
.
flow
(
crossinline
result
:
suspend
(
)
->
ApiResult
<
T
>
)
:
Flow
<
ApiResult
<
T
>
>
Emits
ApiResult.Loading
, then executes
result
See also
as
Api
Result