Interface for the sync information

Hierarchy

  • ISyncStorage

Index

Properties

Properties

destroy

destroy: function

At the end of the sync process the sync informations could be easily destroyed

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

load

load: function

loads the current sync information

Type declaration

    • (): Promise<string | unknown>
    • Returns Promise<string | unknown>

save

save: function

stores the new sync information.

Type declaration

    • (data: string | unknown): Promise<void>
    • Parameters

      • data: string | unknown

      Returns Promise<void>