Reactive Elixir v0.5.0 Reactivity View Source

Link to this section Summary

Functions

Applies a lifted function on a signal, effectively subscribing to it

Lift takes a regular function (a -> b) and lifts into a signal processing method. (signal a -> signal b)

Lift2 takes a function with two parameters (a -> b -> c) and lifts into a function that depends on two other signals (signal a -> signal b -> signal c)

Convenience function to lift and immediatly apply a function to a signal

Publishes a signal by registering it in the registry

Using a keyword to get a signal from the global environment

Link to this section Functions

Applies a lifted function on a signal, effectively subscribing to it.

Link to this function apply2(signal1, signal2, f) View Source

Lift takes a regular function (a -> b) and lifts into a signal processing method. (signal a -> signal b).

Lift2 takes a function with two parameters (a -> b -> c) and lifts into a function that depends on two other signals (signal a -> signal b -> signal c).

Convenience function to lift and immediatly apply a function to a signal.

Publishes a signal by registering it in the registry.

Using a keyword to get a signal from the global environment.