StreamPack
Toggle table of contents
3.0.0-RC
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
StreamPack
streampack-core
/
io.github.thibaultbee.streampack.core.elements.utils
/
DerivedStateFlow
Derived
State
Flow
class
DerivedStateFlow
<
T
>
(
getValue
:
(
)
->
T
,
flow
:
Flow
<
T
>
)
:
StateFlow
<
T
>
Members
Members & Extensions
Constructors
Derived
State
Flow
Link copied to clipboard
constructor
(
getValue
:
(
)
->
T
,
flow
:
Flow
<
T
>
)
Properties
replay
Cache
Link copied to clipboard
open
override
val
replayCache
:
List
<
T
>
value
Link copied to clipboard
open
override
val
value
:
T
Functions
collect
Link copied to clipboard
@
InternalCoroutinesApi
open
suspend override
fun
collect
(
collector
:
FlowCollector
<
T
>
)
:
Nothing
map
State
Link copied to clipboard
fun
<
T1
,
R
>
StateFlow
<
T1
>
.
mapState
(
transform
:
(
a
:
T1
)
->
R
)
:
StateFlow
<
R
>
running
History
Link copied to clipboard
fun
<
T
>
SharedFlow
<
T
>
.
runningHistory
(
)
:
Flow
<
History
<
T
>
?
>
running
History
Not
Null
Link copied to clipboard
fun
<
T
>
SharedFlow
<
T
>
.
runningHistoryNotNull
(
)
:
Flow
<
History
<
T
>
>