indigo.shared.temporal

Members list

Type members

Classlikes

object Signal

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Signal.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object SignalReader

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object SignalState

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Types

opaque type Signal[A]

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 SignalFunctions.

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 SignalFunctions.

Attributes

opaque type SignalFunction[A, B]

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.

Attributes

opaque type SignalReader[R, A]

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.

Attributes

opaque type SignalState[S, A]

SignalState is a type of Signal that carries transformable state values throughout it's life.

SignalState is a type of Signal that carries transformable state values throughout it's life.

Attributes