invoke

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

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


operator fun invoke(timestamp: Long, value: Double = 0.0): Snapshot(source)

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