How to make sure an sqlite dB is initialized before querying


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?