Package-level declarations

Internal yafrl APIs -- not intended to be used directly by users of the library in most use-cases.

Types

Link copied to clipboard
value class BehaviorID(rawValue: Int)

Uniquely identifies sampled behaviors in a particular Timeline.

Link copied to clipboard
open class Node<out A> : Flow<A>

A node is the basic abstraction used in yafrl.

Link copied to clipboard
value class NodeID(rawValue: Int)

Uniquely identifies nodes in a particular Timeline.

Link copied to clipboard
class Timeline(val scope: CoroutineScope, timeTravelEnabled: Boolean, debugLogging: Boolean, eventLogger: EventLogger, val graph: Graph, initTimeTravel: (Timeline) -> TimeTravelDebugger, lazy: Boolean, initClock: (Signal<Boolean>) -> Event<Duration>) : SynchronizedObject, EventLogger

Simple implementation of a push-pull FRP system using a graph of nodes.

Link copied to clipboard
interface TimelineScope

Functions

Link copied to clipboard
fun <A> Node<A>.current(): A

Utility to get the current value of a node.