git ssb

1+

Matt McKegg / mutant



Commit 4cecb64c5bfaa7e58358ce77e0af0153d7f224a2

Merge pull request #10 from dominictarr/patch-1

better elevator pitch for Struct
Matt McKegg authored on 6/20/2017, 12:32:53 AM
GitHub committed on 6/20/2017, 12:32:53 AM
Parent: 4b178c3ce30928830a5c2d9d09b30a405544a4c5
Parent: 6c3600bdc8bb9caf695310b54e4b5f1ae61dad09

Files changed

README.mdchanged
README.mdView
@@ -172,8 +172,10 @@
172172 * `set.getLength()` get the number of items in the set.
173173
174174 ### Struct
175175
176 +Take a fixed set of observables (or values) and return a single observable of the observed values, which updates whenever the inner values update. Subobservables can by any observable type.
177 +
176178 Mostly the same as [observ-struct](https://github.com/raynos/observ-struct) except that it always emits the same object (with the properties changed). This means it violates immutability, but the trade-off is less garbage collection. The rest of the mutant helpers can handle this case pretty well.
177179
178180 They accept a set list of keys that specify types. For example:
179181

Built with git-ssb-web