Set either Session Storage Items or Local Storage Items on the Browser.

Hierarchy

  • Action
    • Set

Properties

abilityAlias?: string
callStack?: CallStackInfo[]

Methods - Factory

  • Set a local storage item identified by the given key + value, creating a new key/value pair if none existed for key previously.

    Parameters

    • key: string

      the key that specifies the item.

    • value: any

      the value of the item.

    Returns Set

    new Set instance for local storage.

    Example

    Set.localStorageItem('some key', 'some value');
    
  • Set a session storage item identified by the given key + value, creating a new key/value pair if none existed for key previously.

    Parameters

    • key: string

      the key that specifies the item.

    • value: any

      the value of the item.

    Returns Set

    new Set instance for session storage

    Example

    Set.sessionStorageItem('some key', 'some value');
    

Methods - Other

  • Parameters

    • entry: CallStackInfo

    Returns void

  • Parameters

    • calledWith: CallStackCalledWith

    Returns void

  • Set the alias which is used for an underlying ability

    Parameters

    • alias: undefined | string

      with which an ability was initialized

    Returns this

    current action

Methods - called internally

  • set the specified storage item.

    Parameters

    • actor: Actor

      Actor performing this action

    Returns Promise<any>

    Returns the value of the pageFunction invocation.

Generated using TypeDoc