[x] Add --monitor cli option enabling automatic shutdown after the main process ends or crashes. (the detection may use the parent PID or a heartbeat mechanism)
[x] Update the C# API to allow for the creation of two types of WWebJSWorker instances
Global : Passing a name to the constructor will either create new or connect to an existing Node server instance with that name. Calling Dispose doesn't terminate the Node server. (End still does)
Anonymous : If created without specifying a name, a random Guid will be used internally for the pipe name and only the current WWebJSWorker instance can interface with the underlying Node server. In this case, the Node server will be terminated upon calling Dispose, End, or after the main process ends (relying on --monitor)
[x] Add
--monitor
cli option enabling automatic shutdown after the main process ends or crashes. (the detection may use the parent PID or a heartbeat mechanism)[x] Update the C# API to allow for the creation of two types of
WWebJSWorker
instancesDispose
doesn't terminate the Node server. (End
still does)WWebJSWorker
instance can interface with the underlying Node server. In this case, the Node server will be terminated upon callingDispose
,End
, or after the main process ends (relying on --monitor)