Function: registerMemoryImportCursorStorage()
Makaio Framework / ai-adapters-core / registerMemoryImportCursorStorage
Function: registerMemoryImportCursorStorage()
Section titled “Function: registerMemoryImportCursorStorage()”registerMemoryImportCursorStorage(
bus): () =>void
Defined in: ../../../adapters/core/src/log-importer/cursor-memory-handler.ts:30
Register in-memory import cursor storage handlers.
Suitable for development, testing, and single-instance deployments. For production with persistence, implement a file-based or database-backed handler.
Parameters
Section titled “Parameters”The bus instance to register handlers on
Returns
Section titled “Returns”Cleanup function to unsubscribe all handlers
() => void
Example
Section titled “Example”import { registerMemoryImportCursorStorage } from '@makaio/ai-adapters-core';
const cleanup = registerMemoryImportCursorStorage(bus);
// Later, when shutting down:cleanup();