3 ms·
How are updates triggered, what's the mechanism? From the examples it seems like you don't need to subscribe and provide a function to be called when changes ha
by wcerfgba 4y ago
How are updates triggered, what's the mechanism? From the examples it seems like you don't need to subscribe and provide a function to be called when changes happen, but then how does it work?
- wotbrew 4y agoA relic db is a persistent data-structure [1]. Applying a transaction with rel/transact gives you a new database, rel/track-transact also returns the changes to relations you have opted-in to change tracking (using rel/watch). [1] https://en.wikipedia.org/wiki/Persistent_data_structure https://en.wikipedia.org/wiki/Persistent_data_structure