How to make sure an sqlite dB is initialized before querying


#1

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.