:sig
function kv_get(key : string) dval

:params
key : the entry key

:returns
the stored value, or `none` when the key is missing or expired

:content
`kv_get()` reads a value from the shared cache. The cache lives in the runtime's own memory, is shared by every worker, and holds any `dval` shape. The result is a copy of what was stored.

:example capy render
kv_set("doc-greeting", { text: "hello" }, 60)
print(string(kv_get("doc-greeting").text), " ", get_type_name(kv_get("doc-missing")), "\n")

:output
hello none

:see-group
kv
