BotCommands
Toggle table of contents
3.0.0-beta.7
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
BotCommands
BotCommands-jda-ktx
/
dev.freya02.botcommands.jda.ktx.components.utils
/
ObservableAccumulator
Observable
Accumulator
class
ObservableAccumulator
<
T
>
(
initialValues
:
Collection
<
T
>
,
onUpdate
:
(
newItems
:
List
<
T
>
)
->
Unit
)
(
source
)
Members
Constructors
Observable
Accumulator
Link copied to clipboard
constructor
(
initialValues
:
Collection
<
T
>
,
onUpdate
:
(
newItems
:
List
<
T
>
)
->
Unit
)
Functions
clear
Link copied to clipboard
fun
clear
(
)
plus
Assign
Link copied to clipboard
operator
fun
plusAssign
(
item
:
T
)
operator
fun
plusAssign
(
collection
:
Collection
<
T
>
)
set
All
Link copied to clipboard
fun
setAll
(
vararg
items
:
T
)
fun
setAll
(
items
:
List
<
T
>
)
unary
Plus
Link copied to clipboard
operator
fun
T
.
unaryPlus
(
)
operator
fun
Collection
<
T
>
.
unaryPlus
(
)