NodeWorker.Options.Argv property
List of arguments which would be stringified and appended to Argv
in the worker. This is mostly similar to the WorkerData
but the values are available on the global Argv
as if they were passed as CLI options to the script.
C#
public string[]? Argv { get; set; }
See Also
- class Options
- namespace Microsoft.JavaScript.NodeApi.Interop