Class GdprSaviorAdapterAbstract

Handle saving/restoring/checking semantics

Interface

GdprSavior

Export

Hierarchy

  • GdprSaviorAdapter

Implements

Constructors

Properties

decorator: undefined | GdprManagerDecorator = undefined

Methods

  • Check if there is an existing manager state (should rely on GdprSavior#exists)

    Returns Promise<void>

  • Determine whether there is already an existing manager (saved state)

    Parameters

    • shouldUpdate: boolean = true

      Whether it should update its savior internals (should default to true)

    Returns Promise<boolean>

  • Restore the manager (saved state)

    Parameters

    • Optional shouldUpdate: boolean

      Whether it should update its savior internals (should default to true)

    Returns Promise<null | GdprManager>