Skip to content

IStorage

Defined in: packages/data/src/storage/istorage.ts:9

Describes a generic storage interface with O(1) operations.

Storage is described by what it can do in O(1), not by an ADT. These capability interfaces are orthogonal, not a chain: ArrayList has O(1) indexing but O(n) popFront, while DoublyLinkedList is fully double-ended but has O(n) indexing.

  • Iterable<T>

T

[iterator](): Iterator<T, any, any>

Defined in: node_modules/.store/typescript-npm-6.0.3-585eecd158/package/lib/lib.es2015.iterable.d.ts:47

Iterator<T, any, any>

Iterable.[iterator]


clear(): void

Defined in: packages/data/src/storage/istorage.ts:11

void


count(): number

Defined in: packages/data/src/storage/istorage.ts:10

number