Acrobits SDK
Toggle table of contents
26.1.0
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Acrobits SDK
Commons
/
cz.acrobits.commons.ref
/
Eventual
Eventual
interface
Eventual
<
T
>
:
Supplier
<
T
>
Inheritors
MutableEventual
Members
Functions
create
Link copied to clipboard
@
NonNull
@
Contract
(
value
=
" -> new"
)
open
fun
<
T
>
create
(
)
:
MutableEventual
<
T
>
get
Link copied to clipboard
abstract
fun
get
(
)
:
T
has
Value
Link copied to clipboard
abstract
fun
hasValue
(
)
:
Boolean
just
Link copied to clipboard
@
NonNull
@
Contract
(
value
=
"_ -> new"
)
open
fun
<
T
>
just
(
value
:
T
)
:
MutableEventual
<
T
>
map
Link copied to clipboard
abstract
fun
<
R
>
map
(
mapper
:
(
T
)
->
R
)
:
Eventual
<
R
>
on
Value
Link copied to clipboard
abstract
fun
onValue
(
consumer
:
Consumer
<
T
>
)
remove
Callback
Link copied to clipboard
abstract
fun
removeCallback
(
consumer
:
Consumer
<
T
>
)
:
Boolean