Skip to documentation
Docs navigation
Docs/initialize()
MemoGrafter

initialize()

Verify core storage before use.

What it does

Verify core storage before use.

When to use it

Call once after constructing the session-oriented core and before serving memory operations.

Signature

TypeScript
initialize(): Promise<void>

Behavior

Connects to the configured store and verifies the already-migrated schema.

Errors and empty results

Rejects unavailable storage or missing/incompatible schema state.

Example

example.ts
await memo.initialize();