A behavior giving access to continous time. When sampled the outer behavior gives a behavior with values that contain the difference between the current sample time and the time at which the outer behavior was sampled.
This takes an impure function that varies over time and returns a
pull-driven behavior. This is particulairly useful if the function
is contionusly changing, like Date.now
.
Observe a behavior for the purpose of executing imperative actions based on the value of the behavior.
Imperatively push a value into a behavior.
The returned behavior initially has the initial value, on each
occurence in source
the function is applied to the current value
of the behaviour and the value of the occurence, the returned value
becomes the next value of the behavior.
Creates a behavior for imperative impure pushing.
Subscribe to a behavior in order to run imperative actions when the value in the behavior changes.
Generated using TypeDoc
A behavior whose value is the number of milliseconds elapsed win UNIX epoch. I.e. its current value is equal to the value got by calling
Date.now
.