can be a Mutator or a function
Same as Mutation.of(Mutator.of(VACUO, CHAOS, options.mutator), options).
Set Mutation's options by key.
Stream value of Mutation.
The consumer will be invoked by "trigger" method when there is a adequate value.
Same as .subscribe(consumer, { ...options, isExtracted: true }).
Get a transformation of mutator of mutation, which bind latest datar of mutation as first argument.
Given a consumer, find and return the subscription.
Given a hostAtom, find and return the subscription.
Given a consumer or atom, find and return the subscription.
Given a consumer or subscription, unsubscribe it.
Unsubscribe all subscriptions.
Empty mutator will not be triggered.
mutator
Internally call trigger method which will not trigger empty mutator,
so the Vacuo value will not be triggered by triggerTransformation method.
transformation
Change the value of Mutation in a stream manner.
Given "data" will be upstream of current Mutation, which is different from "beObservedBy" method.
Change the value of Mutation in a stream manner.
Given "data" will be downstream of current Mutation, which is different from "observe" method.
Change the value of Mutation in a static manner.
take datar-like param(convert to datar) -> run datar with current mutator & contexts -> wrap and save result of datar.run as new mutator -> trigger consumers with new mutator & contexts
Will be the 2nd param of mutator's operation.
Mutation(this)
Which Take an internalTrigger(Function) as first parameter, invoke internalTrigger with any value will lead to Mutation's trigger method be triggerd with that value.
TriggerController
true
Mutator of Mutation.
Transformation of Mutator of Mutation.
If the transformation is lifted, the original transformation will be returned as first choice instead of lifted transformation.
Create a new Mutation instance with Mutator or Function.