Previously, the sample worked, but only because the initial access to the DB happened as a result of user action (late in the app lifecycle). Trying to access earlier without async initialization would mean the db could not work correctly. Awaiting makes this reliable.
Previously, the sample worked, but only because the initial access to the DB happened as a result of user action (late in the app lifecycle). Trying to access earlier without async initialization would mean the db could not work correctly. Awaiting makes this reliable.