A behavior is a value that changes over time. Conceptually it can be though of as a function from time to a value. I.e. type Behavior<A> = (t: Time) => A.
type Behavior<A> = (t: Time) => A
Generated using TypeDoc
A behavior is a value that changes over time. Conceptually it can be though of as a function from time to a value. I.e.
type Behavior<A> = (t: Time) => A
.