cliff-effects icon indicating copy to clipboard operation
cliff-effects copied to clipboard

Freeze objects that really do need to keep their values the same

Open knod opened this issue 7 years ago • 1 comments

Like data from programs, non-clone clients, etc.

knod avatar Nov 11 '18 20:11 knod

There is an implementation of a deepFreeze function that has since been deleted from the codebase since it's not being used anymore, but it's still visible here if whoever takes this on wants to use or adapt it. That function returns a frozen clone of the object passed in, rather than freezing the object in-place; that may or may not be desirable here. If we want an in-place freezer, there's a library that does that (have not tested it myself though).

turnerhayes avatar Nov 25 '18 01:11 turnerhayes