[PLUGIN] USQLite

Try to set your Database class to execute commands as a background task:



Then subscribe to “On Finish Data Save/Load” delegates:

Be warned that working with threaded actions makes your code more complicated and bugs require more experience to track.

You often have to track the state of your thread when you enabled threaded background task on DB:

DB_ThreadState


BTW… I think I can improve the speed of Immediate Saves when DB is marked as background, I will take a look where I can make it smoother this weeked.