jylis_ex v0.2.0 Jylis.TREG

A timestamped register. [link]

Link to this section Summary

Functions

Get the latest value and timestamp for the register at key

Set a value and timestamp for the register at key

Link to this section Functions

Link to this function get(connection, key)

Get the latest value and timestamp for the register at key.

Returns {:ok, {value, timestamp}} on success.

Link to this function set(connection, key, value, timestamp)

Set a value and timestamp for the register at key.

timestamp - An integer Unix timestamp or an ISO 8601 formatted string.