NOISIF Platform
Toggle table of contents
80ccce4
java
Target filter
java
Switch theme
Search in API
Skip to content
NOISIF Platform
NSL UI
/
xyz.noisif.nsl.ui.rx
/
State
State
class
State
<
T
>
:
Observable
<
T
>
Members
Constructors
State
Link copied to clipboard
constructor
(
initialValue
:
T
)
Properties
listeners
Link copied to clipboard
private
val
listeners
:
List
<
Consumer
<
T
>
>
value
Link copied to clipboard
private
open
var
value
:
T
Functions
get
Link copied to clipboard
open
fun
get
(
)
:
T
map
Link copied to clipboard
open
fun
<
R
>
map
(
mapper
:
(
T
)
->
R
)
:
Observable
<
R
>
notify
Listeners
Link copied to clipboard
private
open
fun
notifyListeners
(
)
set
Link copied to clipboard
open
fun
set
(
newValue
:
T
)
subscribe
Link copied to clipboard
open
fun
subscribe
(
listener
:
Consumer
<
T
>
)
:
Subscription
subscribe
Immediate
Link copied to clipboard
open
fun
subscribeImmediate
(
listener
:
Consumer
<
T
>
)
:
Subscription