setSharedVariable (Client API reference)

Sets the value of a variable to be used by a handler after the current handler completes.

Syntax

ExecutionContextObj.setSharedVariable(key, value)

Parameters

  • key: String: The name of the variable
  • value: Object. The values to set

Return value

Type: Object

Description: The specific type depends on what the value object is.

getSharedVariable
Execution context