Javascript – listAll firebase storage order of excution
I want to return after collecting all files path but the function return with empty list. async function gcsFilesListTwo(uid: string): Promise<string[]> { let ret: string[] = [] if (browser) { const storage = firestorage(); const listRef = ref(storage, `gs://bucket/folder`); listAll(listRef)…