Skip to content

TracingJSRuntime.TraceCallback<TDescriptor> method

Traces a callback function, method, getter, or setter, including args and return value. (When tracing is enabled, this method replaces the normal InvokeCallback method.)

C#
public napi_value TraceCallback<TDescriptor>(JSValueScope scope, napi_callback_info cbinfo, 
    Func<TDescriptor, JSCallbackDescriptor> getCallbackDescriptor)

See Also

Released under the MIT license