Reactive Elixir v0.6.1 Reactivity.Signal.Source View Source

Link to this section Summary

Functions

Adds a child to the node. Whenever this node receives a new value it will “tick” all its children with the new value

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

Adds a child to the node. Whenever this node receives a new value it will “tick” all its children with the new value.

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, time, name) 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.