Skip to main content
Version: Next

resolveStorageIdentifier

Callable


  • Decompose a user-provided identifier (the Dataset.open() / KeyValueStore.open() / RequestQueue.open() argument) into separate id, name, and alias fields that the StorageInstanceManager and StorageBackend.create*Client expect.

    • null / undefined / {} → default storage alias
    • string → resolved via storageExists (ID-first, then name)
    • { id }{ id }
    • { name }{ name }
    • { alias }{ alias }

    Parameters

    Returns Promise<ExplicitStorageIdentifier>