class SC extends BaseCache<V>import { SC } from "https://deno.land/x/velo@0.1.5/src/caches/sc.ts"; Second Chance Cache ConstructorsnewSC(options: Options)Type ParametersoptionalV = anyPropertiesprivate_size: numberprivatearrayMap: { key: Key | undefined; value: V | undefined; sChance: boolean; }[]privatebackward: TypedArrayprivatehead: numberprivateitems: [key in Key]: numberprivatepointers: PointerListprivatetail: numberreadonlykeysList of keys in the cache readonlysizeCurrent number of entries in the cache readonlyvaluesList of values in the cache Methodsclear()Reset the cache forEach(callback: (item: { key: Key; value: V; }, index: number) => void)Array like forEach, iterating over all entries in the cache get(key: Key)Gets the value for a given key has(key: Key)Checks if a given key is in the cache peek(key: Key)Get the value to a key without manipulating the cache remove(key: Key)Removes the cache entry with given key set(key: Key,value: V,ttl?: number,)Inserts a new entry into the cache