Skip to main content
requests.MemoryRecords Process-local mechanics for explicitly ephemeral requests.

Implements

Constructors

constructor

• new MemoryRecords()

Properties

records

• Readonly records: Map<string, Uint8Array<ArrayBufferLike>>

Methods

transaction

▸ transaction<T>(key, use): T

Type parameters

Parameters

Returns

T

Implementation of

AtomicRecordStore.transaction

batch

▸ batch<T>(keys, use): T

Type parameters

Parameters

Returns

T

Implementation of

AtomicRecordStore.batch

withCurrent

▸ withCurrent<T>(key, use): T

Type parameters

Parameters

Returns

T

Implementation of

AtomicRecordStore.withCurrent

scan

▸ scan(after, limit, prefix?): StoredCustodyRecord[]

Parameters

Returns

StoredCustodyRecord[]

Implementation of

AtomicRecordStore.scan