method Storage.prototype.list
Storage.prototype.list(prefix?: string): Source<StorageEntry, StorageListFailed>

List objects in storage with optional prefix.

Examples

Example 1

const { successes, errors } = await storage.list("images/")
  .withConcurrency(10)
  .map(async (entry) => await processImage(entry))
  .tapErr((err) => console.error("Failed:", err))
  .partition();

Parameters

optional
prefix: string

Return Type

Usage

import { Storage } from ".";