Skip to content

NodeEmbeddingRuntime class ​

A Node.js runtime.

C#
public sealed class NodeEmbeddingRuntime : IDisposable

Public Members ​

namedescription
static Create(…)
static FromHandle(…)
Handle { get; }
IsDisposed { get; }Gets a value indicating whether the Node.js environment is disposed.
Dispose()Disposes the Node.js environment, causing its main thread to exit.
RunEventLoop()
RunEventLoopNoWait()
RunEventLoopOnce()
RunNodeApi(…)
TerminateEventLoop()
static Run(…)

Remarks ​

Multiple Node.js environments may be created (concurrently) in the same process.

See Also ​

Released under the MIT license