Skip to content

obsidian/internals/collections

InterfaceDescription
CustomArrayDictA dictionary mapping string keys to arrays of values.
ItemQueueAn async item queue that supports generator-based consumption.
ItemQueueItemsBacking storage for an ItemQueue, providing queue operations on an array.
MapOfSetsA map where each key is associated with a set of values.
PromiseWithResolversA promise bundled with its resolve and reject callbacks, as returned by Promise.withResolvers(). Mirrors the ES2024 PromiseWithResolvers global so the typings stay consumable when the consumer’s lib only targets ES2022 (e.g. the minimum supported Obsidian installer, which runs on Node 16).