📜 Naming ​
Common ​
The common naming conventions in the Traced Fabric (TF) package reflect its fundamental purpose. For those interested in a deeper understanding of the project’s internals, exploring the core functionality and key naming conventions will provide valuable insights into how the system operates.
traceFabric- function that will process data and make ittraceabletraced- data whose changes are recordedtracedFabric- data that istracedbytraceFabrictracedValue- array or object inside oftracedFabric. Can be inside of othertracedValuesmutation- single change inside oftracedFabricoftracedValuetrace- array ofmutationsmutationCallback- function that will be triggered whenmutationhappens
Core functionality ​
This section is intended for those who wish to understand how TF operates and explore its key concepts.
sender-tracedFabricthat contains inside of anothertracedFabric(receiver)receiver/subscriber-tracedFabricthat will receivemutationsfrom nestedsendersmetadata- data that is used for indexingtracedValues. Contains:tracedFabricreference - reference to thetracedFabricthat contains value with currentmetadata, no mater how deep it is nested- parent reference - reference to
tracedValuethat contains value with currentmetadata. It can be empty if the value is contained insidetracedFabric - key - indicates the key to access value with current
metadatain parent reference or tracedFabric reference if previous does not exists