The Performance Manager or a Performance provider source (may be null)
The callback to create the source name for the event (if perf monitoring is enabled)
The function to call and measure
Optional
perfEvt: IPerfEventOptional
details: (() => any)A function to return the payload details
Optional
isAsync: booleanIs the event / function being call asynchronously or synchronously
Helper function to wrap a function with a perf event