Most use cases for flowthings.io will involve time series data. However, there are circumstances in which time is irrelevant. In these circumstances, ensuring drop uniqueness may become relevant. FHashes are a means of enforcing drop uniqueness.
FHashes are optional. They may be enabled for a drop by setting the toplevel attribute
fhash for the drop.
Each unique drop has its own distinct fhash. Flows know which fhashes they have processed and will only process drops with fhashes not before seen.
FHashes also provide the ability to reference specific drops using the Flow.js function
- flowId - string containing Flow's id or path
- fhash - FHash of Drop to be found
Returns json representation of drop with specified fhash, if found. Else, returns null.
Throws an instance of Flow.Error.