Hierarchy

  • IncrementalSaveablePersistenceAdapter
  • DeletablePersistenceAdapter
  • LoadablePersistenceAdapter
    • IncrementalPersistenceAdapter

Implemented by

Properties

mode: "incremental"

Methods

  • Loads a serialized database from the persistence layer. This method should pass the string contents of the database to the callback after completion.

    Parameters

    • dbname: string

      the name of the database to load

    • callback: ((value: string | Error) => void)

      the callback to handle the result or error after loading. On success, the value of the param with be either a string or null.

        • (value: string | Error): void
        • Parameters

          • value: string | Error

          Returns void

    Returns void

Generated using TypeDoc