Practic Passkey - v1.0.0
    Preparing search index...

    Function storageNamespace

    • Give part of an engine its own collections, so several apps share one store without meeting: every collection is kept as <namespace>/<collection>. Records and their guarantees are the engine's own.

      Parameters

      • engine: StorageEngine

        Engine shared.

      • namespace: string

        Prefix of this part's collections, such as an app's id.

      Returns StorageEngine