collect

abstract fun collect(opts: CollectOptions): List<V>

(DOC) Evaluates the stack of operations and produces a list of timeline payload objects.

The resulting list may have some property invariants depending on what type of timeline was evaluated. For example, calling collect on a profile type will result in an ordered, non-overlapping, coalesced list of segments. The only invariant that all timeline types share is that the list objects will be within the provided bounds.


open fun collect(bounds: Interval): List<V>

(DOC) A simplified version of collect.

Uses defaults for all other CollectOptions fields.

Parameters

bounds

bounds of evaluation (defaults to Interval.MIN_MAX if not provided).


open fun collect(): List<V>

(DOC) Collects the timeline for all available time.