> UPDATE V1.1
- Added types
- Added 2 events “onCacheAdded” and “onCacheRemoved”
- New function “ClearAllCacheWithin”
- Chainability on “Set” function
Examples:
QuickCache.onCacheAdded:Connect(function(info:QuickCache.DefaultTable)
print(`New cache added with key of {info.key} and the value is {info.value}`)
end)
QuickCache.onCacheRemoved:Connect(function(info:QuickCache.DefaultTable)
print(`Cache removed with key of {info.key} and the value is {info.value}`)
end)
QuickCache:Set("Key",123,10)
QuickCache:Set("Key2",456,math.random(30,40))
QuickCache:ClearAllCacheWithin("Key")
-- key: nil
-- key2: 456
QuickCache:Set("Key",123,7)
.Again("Key2",456,10)
.Again("Key3",789,84)
What feature you want next?
- Datastore
- Convert Cache to Instance
- Other (reply)
0 voters