Interface IPerfManager

This defines an internal performance manager for tracking and reporting the internal performance of the SDK -- It does not represent or report any event to the server.

Hierarchy

  • IPerfManager

Implemented by

Methods

  • Create a new event and start timing, the manager may return null/undefined to indicate that it does not want to monitor this source event.

    Parameters

    • src: string

      The source name of the event

    • Optional payloadDetails: (() => any)

      An optional callback function to fetch the payload details for the event.

        • (): any
        • Returns any

    • Optional isAsync: boolean

      Is the event occurring from a async event

    Returns IPerfEvent

  • Complete the perfEvent and fire any notifications.

    Parameters

    • perfEvent: IPerfEvent

      Fire the event which will also complete the passed event

    Returns void

  • Get the execution context value

    Parameters

    • key: string

      The context key

    Returns any

  • Set an execution context value

    Parameters

    • key: string

      The context key name

    • value: any

      The value

    Returns void

Generated using TypeDoc