RSX Code Reference
    Preparing search index...
    • rsx
    • profilerEvent

    Function profilerEvent

    • Decorates a method with a ProfilerEvent.sample call.

      Parameters

      • Optionalname: string

        Optional.Specifies the name of the profiler sample.If not specified, will use the name of the method.

      Returns (target: any, key: string, descriptor: PropertyDescriptor) => void

      ProfilerEvent.sample