to be implemented by the propagation algorithm, called when a new reactive has been instantiated and needs to be connected to the graph and potentially reevaluated.
to be implemented by the propagation algorithm, called when a new reactive has been instantiated and needs to be connected to the graph and potentially reevaluated.
the newly instantiated reactive
a set of incoming dependencies
true if the reactive must be reevaluated at creation even if none of its dependencies change in the creating turn.
Creates the internal state of Deriveds
Creates the internal state of Deriveds
Creates the internal state of ReSources
Creates the internal state of ReSources
hook for schedulers to globally collect all created resources, usually does nothing
hook for schedulers to globally collect all created resources, usually does nothing
An initializer is the glue between that binds the creation of the reactive from the operator and scheduler side together. The operator provides the logic to wrap a state and the scheduler provides the implementation of that state. This is where the two are joined. After that, the new reactive may have to be initialized.