cache
Documentation of Synapse Z cache library
cache.iscached
bool cache.iscached(instance: Instance)
returns whenever the instance is in registry cache or not
cache.invalidate
void cache.invalidate(instance: Instance)
removes the target instance from registry cache
cache.replace
void cache.replace(instance: Instance, replacement: Instance)
replaces the target instance in registry cache with the specified replacement