FP-Devicer - v2.0.2
    Preparing search index...

    Function createInMemoryAdapter

    • Create a volatile, in-process StorageAdapter backed by a plain Map. All data is lost when the process exits.

      Intended for testing and development only. Because there is no persistence layer, linkToUser is a no-op and deleteOldSnapshots prunes in-memory history without tracking a deleted-row count.

      Returns StorageAdapter

      A fully initialised (eager) StorageAdapter instance.

      const adapter = createInMemoryAdapter();
      await adapter.init(); // no-op but keeps the API consistent