Skip to content

Documentation / @etherfold/core / openMemoryGenerationRegistry

Function: openMemoryGenerationRegistry() ​

openMemoryGenerationRegistry(caps, options?): Promise<GenerationRegistry>

Defined in: packages/core/src/generation/memory.ts:156

The registry over that substrate. The caps are the caller's: nothing here has a default.

Parameters ​

caps ​

GenerationCaps

options? ​

dropState? ​

(id) => Promise<void>

readStateCursor? ​

(id) => Promise<number | undefined>

Returns ​

Promise<GenerationRegistry>