[cache.get]
cache.get is a slot in the cache namespace, in Hyperlambda, the language of Magic Cloud. Returns a cached value by key.
- Value (
cache-key), required: Cache key to retrieve - Returns: Resolves to the cached value, or null if the key does not exist
Guide: How to use [cache.get]
JSON declaration
This is the complete declaration of cache.get, as the running system describes it. It is also published as slot.json.
JSON declaration
{
"name": "cache.get",
"description": "Returns a cached value by key",
"signature": {
"input": {
"kind": "cache-key",
"description": "Cache key to retrieve",
"required": true,
"mode": "ValueOrExpression"
},
"output": {
"mode": "Value",
"kind": "cache-value,text",
"description": "Resolves to the cached value, or null if the key does not exist"
}
}
}
← cache.count |
all cache.* slots |
cache.list → |