|
Post by slartibartfast on Apr 14, 2019 11:00:37 GMT
Hi,
what is the preferred method to do asynchronous calls to SQLite database, using SimpleSql asset?
Coroutines? Async-Await? Create new Threads?
I would very much appreciate code examples too.
Cheers!
|
|
|
Post by slartibartfast on Apr 15, 2019 4:36:40 GMT
|
|
|
Post by echo17 on Apr 15, 2019 12:42:22 GMT
I have not tried using asynchronous calls with SimpleSQL, so I could not give you a good recommendation on how to proceed with that. You may have some luck searching on Unity's answer forum: Unity Answers
|
|
|
Post by slufter on Jul 19, 2019 0:49:05 GMT
I'm also very curious about asynchronous calls with SimpleSQL. slartibartfast, how has your experience been since you last posted? I'm attempting to use async await (with the help of this free asset assetstore.unity.com/packages/tools/integration/await-extensions-127006). I'm using the WaitForBackgroundThread class, if you care to check out their documentation. Any thoughts on this? I am new to having to think about threads, but I am determined to learn because my goal is to make frequent queries during gameplay, and I would love to do it asynchronously to not freeze up the gameplay. Thanks for your time!
|
|