cache.replace
Replaces one Instance's cache mapping with another reference.
Changes future cache lookups; it does not rewrite existing script variables.
cache.replace(target: Instance, replacement: Instance): ()Parameters
| Parameter | Type | Description |
|---|---|---|
target | Instance | Instance whose cache key is modified. |
replacement | Instance | Reference to store under that key. |
