indigo.shared.temporal
Type members
Types
A Signal is function t: Seconds -> A
. Signals are stateless time based value, which is to say that for a given
time, they will produce a value based on that time. They are useful for representing things like animations,
particularly when used in combination with SignalFunction
s.
A Signal is function t: Seconds -> A
. Signals are stateless time based value, which is to say that for a given
time, they will produce a value based on that time. They are useful for representing things like animations,
particularly when used in combination with SignalFunction
s.
A Signal Function is a combinator that maps Signal[A] -> Signal[B]
. One way to thing of signal functions is to
think of each instance as one section of a transformation pipeline. When you attach the pipeline to a Signal
you
can ask the pipeline for a transformed value over time. For example, you could have a signal that produces an
endlessly looping angle, and a signal function that turns that angle into perhaps and orbit or a color.
A Signal Function is a combinator that maps Signal[A] -> Signal[B]
. One way to thing of signal functions is to
think of each instance as one section of a transformation pipeline. When you attach the pipeline to a Signal
you
can ask the pipeline for a transformed value over time. For example, you could have a signal that produces an
endlessly looping angle, and a signal function that turns that angle into perhaps and orbit or a color.
SignalReader is a wrapper around signal that provides an execution environment. As such it generally delegates to Signal.
SignalReader is a wrapper around signal that provides an execution environment. As such it generally delegates to Signal.