Get store
Gets the instance of the store. If the instance of the store has already been created in the user session, (stored in storeInstance) it will return that instance rather than reading and loading the file in to memory a second time.
Promise - The instance of the store.
const store = await getAuthStore(); Copy
const store = await getAuthStore();
Get store
Gets the instance of the store. If the instance of the store has already been created in the user session, (stored in storeInstance) it will return that instance rather than reading and loading the file in to memory a second time.