I have service for interacting with sqlite.
In the constructor is “create if not exist” the sqlite dB. It is an async call.
I have different functions for querying.
How do I make sure that the create call has completed before querying?
Thanks.
I have service for interacting with sqlite.
In the constructor is “create if not exist” the sqlite dB. It is an async call.
I have different functions for querying.
How do I make sure that the create call has completed before querying?
Thanks.