Companion

Functions

Link copied to clipboard
operator fun invoke(timestamp: Long, value: Double = 0.0): Snapshot

Build a snapshot whose value is numeric — stringified for the wire.

operator fun invoke(timestamp: Long = 0, value: String = ""): Snapshot

Build a snapshot whose value is text — trimmed of leading/trailing whitespace.