Resolves once a mount matching query is present (immediately if it already is). Handy for "use it when it appears" — e.g. await waitForMount({ type: 'firestore' }) before reading /firestore.
query
await waitForMount({ type: 'firestore' })
/firestore
Resolves once a mount matching
queryis present (immediately if it already is). Handy for "use it when it appears" — e.g.await waitForMount({ type: 'firestore' })before reading/firestore.