I want to do IF statement: If my resource runs out of data to process do x actions. How do I do this? I tried to use Ignore errors but that did not work.
If i write data into a single file using multiple threads then is there any chance of data loss ? Is this method okay to write file or some other method should be used to avoid data loss(if it happens) ?
Thanks
There should be no data loss, but it is still better to use the resource for this purpose