The biggest one is the use of Result and completion blocks in order to do asynchronous background tasks. I rewrote more or less all the SampleStorage methods -- and I'm sorry I wish I did this sooner as you will probably feel right at home with this style.
I have tested most of the methods except for loadSamplesFromDisk I am happy to test tomorrow it just got really late here.
All methods in SampleStorage now happen on the .utility background thread service which I think is the appropriate QOS for these methods, though we can try others as needed.
Ok there are some major changes in this:
The biggest one is the use of
Result
and completion blocks in order to do asynchronous background tasks. I rewrote more or less all theSampleStorage
methods -- and I'm sorry I wish I did this sooner as you will probably feel right at home with this style.I have tested most of the methods except for
loadSamplesFromDisk
I am happy to test tomorrow it just got really late here.All methods in
SampleStorage
now happen on the.utility
background thread service which I think is the appropriate QOS for these methods, though we can try others as needed.