• Maintains a map of document states, keyed by DocumentId. Useful for collections of related documents. Accepts either URLs or document IDs in the input array, but all get converted to IDs for the output map.

    Type Parameters

    • T

    Parameters

    • Optional idsOrUrls: DocId[]

    Returns Record<DocumentId, T>