NodeEmbeddingRuntime class
A Node.js runtime.
C#
public sealed class NodeEmbeddingRuntime : IDisposablePublic Members
| name | description |
|---|---|
| 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.