long

fun long(key: String, default: Long = 0): Keystone.ObservationBuilder

Declares a Long key to observe.

Return

This builder for chaining.

Parameters

key

The storage key name.

default

Default value if the key is missing. Defaults to 0L.