JSValue.CreateFunction method (1 of 2)
C#
public static JSValue CreateFunction(string? name, JSCallback callback, object? callbackData = null)
See Also
- delegate JSCallback
- struct JSValue
- namespace Microsoft.JavaScript.NodeApi
JSValue.CreateFunction method (2 of 2)
C#
public static JSValue CreateFunction(string? name, napi_callback callback, IntPtr data)
See Also
- struct napi_callback
- struct JSValue
- namespace Microsoft.JavaScript.NodeApi