multiplatformx-api
0.1.143
multiplatformx-api
/
org.brightify.hyperdrive.multiplatformx.util.bridge
/
NonNullStateFlowWrapper
Non
Null
State
Flow
Wrapper
open
class
NonNullStateFlowWrapper
<
T
:
Any
>
(
getter
:
(
)
->
T
,
origin
:
Flow
<
T
>
)
:
NonNullFlowWrapper
<
T
>
Content copied to clipboard
Types
Constructors
Functions
Properties
Inheritors
Constructors
Non
Null
State
Flow
Wrapper
Link copied to clipboard
fun
<
T
:
Any
>
NonNullStateFlowWrapper
(
getter
:
(
)
->
T
,
origin
:
Flow
<
T
>
)
Content copied to clipboard
Types
Companion
Link copied to clipboard
object
Companion
Content copied to clipboard
Functions
collect
Link copied to clipboard
open
suspend override
fun
collect
(
collector
:
FlowCollector
<
T
>
)
Content copied to clipboard
watch
Link copied to clipboard
open
fun
watch
(
onNext
:
(
T
)
->
Unit
,
onError
:
(
Exception
)
->
Unit
,
onCompleted
:
(
)
->
Unit
,
coroutineScope
:
CoroutineScope
=
MainScope()
)
:
FlowWrapperWatchToken
Content copied to clipboard
Properties
value
Link copied to clipboard
open
val
value
:
T
Content copied to clipboard
Inheritors
NonNullMutableStateFlowWrapper
Link copied to clipboard