NodeWorker.Ref method
Opposite of Unref
. Calling ref() on a previously unref()ed worker does not let the program exit if it's the only active handle left (the default behavior). If the worker is ref()ed, calling ref() again has no effect.
C#
public void Ref()
See Also
- class NodeWorker
- namespace Microsoft.JavaScript.NodeApi.Interop