BigHugger
sk Skill · maxrave-dev

identity-compare-immutable-setting

Bundle a multi-field setting into one immutable value and hand it to a hot consumer as a supplier, so the consumer asks "has this changed?" with a single reference comparison instead of diffing N numbers per buffer — and can never observe the fields half-updated. Use when a per-buffer or per-frame consumer has to react to a user setting, or when a setting made of several fields is read inconsistently.

installs 8w
0
30-day movement
starts with the next reading
Related entries
1
Connections
0
kotlinbash
Host repository
maxrave-dev/kotlin-footguns
Host stars
541