Im trying to use a function i use in other parts of my app, that is a bit more complex to format the text on crosshair based on user preferences but it keeps erroring with Tried to synchronously call function error and im kinda stuck, any ideas?
alternatively Is there any way in the format function to access other fields of the data objects? i could pre-format the data and just access that in the function instead of doing that inflight
Solved this by creating an object where the key is the value of each index and the value to this key is the formatted value and accessing that in the worklet
Hello,
Im trying to use a function i use in other parts of my app, that is a bit more complex to format the text on crosshair based on user preferences but it keeps erroring with
Tried to synchronously call function error
and im kinda stuck, any ideas?alternatively Is there any way in the format function to access other fields of the data objects? i could pre-format the data and just access that in the function instead of doing that inflight