Options
All
  • Public
  • Public/Protected
  • All
Menu
class

LocalStorageTable

Hierarchy

  • LocalStorageTable

Index

Methods

Methods

getP

  • getP(key: string): PromiseLike<object>
  • Gets the value for the given key.

    function

    getP

    throws

    {Error}

    Parameters

    • key: string

      The key to be searched for.

    Returns PromiseLike<object>

removeP

  • removeP(key: string): PromiseLike<boolean>
  • Removes the key from the keychain.

    function

    removeP

    throws

    {Error}

    Parameters

    • key: string

      The key to be removed.

    Returns PromiseLike<boolean>

updateP

  • updateP(key: string, value: object): PromiseLike<boolean>
  • Updates the value for the given key.

    throws

    {Error}

    Parameters

    • key: string

      The key to be searched for.

    • value: object

      The new value.

    Returns PromiseLike<boolean>

Generated using TypeDoc