Same as Data.of(Datar.of(VACUO, CHAOS, options))
Set Data's options by key.
Stream value of Data.
The consumer will be invoked by "trigger" method when there is a adequate value.
Same as .subscribe(consumer, { ...options, isExtracted: true }).
Given a consumer, find and return the subscription.
Given a atom, find and return the subscription.
Given a consumer or atom, find and return the subscription.
Given a consumer or subscription or atom, unsubscribe it.
Unsubscribe all subscriptions.
Empty datar will not be triggered.
datar
Internally call trigger method which will not trigger empty datar,
so the Vacuo value will not be triggered by triggerValue method.
value
Change the value of Data in a stream manner.
Given "mutation" will be upstream of current Data, which is different from "beObservedBy" method.
(other data ->) mutation -> current data
Change the value of Data in a stream manner.
Given "mutation" will be downstream of current Data, which is different from "observe" method.
current data -> mutation (-> other data)
Change the value of Data in a static manner.
take mutator-like param(convert to mutator) -> run mutator with current datar & contexts -> wrap and save result of mutator.run as new datar -> trigger consumers with new datar & contexts
Used to produce new value with current datar.
Provide to mutator's transformation (function) as execute contexts.
Data(this)
Takes an internalTrigger(Function) as first parameter, invoke internalTrigger with any value will lead to Data's trigger method be triggerd with given value.
TriggerController
true
Datar of Data.
Value of Datar of Data, same as Data.datar.value.
can be a Datar or any other value