This interface identifies the details of an internal performance event - it does not represent an outgoing reported event

Hierarchy

  • PerfEvent

Implements

Constructors

  • Parameters

    • name: string
    • payloadDetails: (() => any)
        • (): any
        • Returns any

    • isAsync: boolean

    Returns PerfEvent

Properties

ChildrenContextKey: string
ParentContextKey: string
complete: (() => void)

Type declaration

    • (): void
    • Returns void

exTime?: number

Identifies the exclusive time spent in for this event (not including child events), this will be undefined until the event is completed.

getCtx?: ((key) => any)

Type declaration

    • (key): any
    • Parameters

      • key: string

      Returns any

isAsync: boolean

Is this occurring from an asynchronous event

isChildEvt: (() => boolean)

Type declaration

    • (): boolean
    • Identifies whether this event is a child event of a parent

      Returns boolean

name: string

The name of the event

payload: any

The payload (contents) of the perfEvent, may be null or only set after the event has completed depending on the runtime environment.

setCtx?: ((key, value) => void)

Type declaration

    • (key, value): void
    • Parameters

      • key: string
      • value: any

      Returns void

start: number

The start time of the event in ms

time?: number

Identifies the total inclusive time spent for this event, including the time spent for child events, this will be undefined until the event is completed

Generated using TypeDoc