method Cache.prototype.get Cache.prototype.get<T>(key: string): Task<T | null, CacheGetFailed> Retrieve a value by key. Returns null on cache miss. Examples Example 1 const user = await cache.get<User>("user:1").run(); if (user) console.log(user.name); Type Parameters T Parameters key: string Return Type Task<T | null, CacheGetFailed>