JSThreadSafeFunction constructor
C#
public JSThreadSafeFunction(int maxQueueSize, int initialThreadCount,
ref JSValue asyncResourceName, ref JSValue? jsFunction = null,
ref JSObject? asyncResource = null, JSThreadSafeFinalizeCallback? finalize = null,
object? functionContext = null, JSThreadSafeCallback? jsCaller = null)
See Also
- struct JSValue
- struct JSObject
- delegate JSThreadSafeFinalizeCallback
- delegate JSThreadSafeCallback
- class JSThreadSafeFunction
- namespace Microsoft.JavaScript.NodeApi.Interop