Documentation - v0.27.1
    Preparing search index...

    Interface StorageManagerExtraOptionsInternal

    Additional options for StorageManager, that can be customized by the user.

    interface StorageManagerExtraOptions {
        cleanup?: boolean;
        saveInterval?: number;
    }
    Index

    Properties

    cleanup?: boolean

    Whether to finalize database before exiting.

    true

    saveInterval?: number

    Interval in milliseconds for saving the storage.

    When saving, the storage is expected to persist all changes to disk, so that they are not lost.