-
I have a function that calls an online API that involves computation from the value that I provided. I wonder how hash value is determined in this case and if it is recommended to set |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The hash is determined by the local data that is downloaded. The target is invalidated when the local data changes, etc., but |
Beta Was this translation helpful? Give feedback.
The hash is determined by the local data that is downloaded. The target is invalidated when the local data changes, etc., but
targets
will not know about the external service whose API you called. Up to you whether to setmode = "never"
intar_cue()
. If all you need is the data to exist and you do not care to synchronize your local copy with the latest online copy, that seems fine. Otherwise, you could use a custom cue, maybe atar_age()
target ortar_cue_age()
cue from developmenttarchetypes
if you want to check at regular time intervals.