Reactive Elixir v0.5.0 Reactivity.Signal.Derived View Source

A derived signal has at least one dependee.

Link to this section Summary

Functions

Returns the last value generated by this node

Is called when the parent has sent us a new value. If this happens we need to contact all our children as well withour newly computed value

Creates a new source signal based on a function. It’s not the point to be used in programs, merely as a simulation

Link to this section Functions

Link to this function handle_call(msg, from, state) View Source

Returns the last value generated by this node.

Is called when the parent has sent us a new value. If this happens we need to contact all our children as well withour newly computed value.

Link to this function new(gen_func, default, parents) View Source

Creates a new source signal based on a function. It’s not the point to be used in programs, merely as a simulation.