Interface for the event context. In the API documentation, this is sometimes referred to as the executionContext.

Hierarchy

Methods

  • Gets the handler's depth, which is the order in which the handler is executed.

    Returns number

    The depth, a 0-based index.

  • Type Parameters

    • T

      Generic type parameter.

    Parameters

    • key: string

      The key.

    Returns T

    The shared variable.

    Summary

    Gets the shared variable with the specified key.

    Description

    Gets the shared variable with the specified key. Used to pass values between handlers of an event.

  • Type Parameters

    • T

      Generic type parameter.

    Parameters

    • key: string

      The key.

    • value: T

      The value.

    Returns void

    Summary

    Sets a shared variable.

    Description

    Sets the shared variable with the specified key. Used to pass values between handlers of an event.

Generated using TypeDoc