Aliases
None.Arguments
Instance
required
The Instance whose cached wrapper entry is replaced.
Instance
required
The replacement Instance wrapper.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Maps the old underlying instance key to the new wrapper in the cache.
cache.replace(old: Instance, new: Instance): ()
local a, b = Instance.new("Part"), Instance.new("Part")
cache.replace(a, b)
cache.invalidate(a)
cache.validate(a)
a:Destroy()
b:Destroy()
