Skip to content

NodeWorker.Options.ResourceLimits property

An optional set of resource limits for the new JS engine instance. Reaching these limits leads to termination of the Worker instance. These limits only affect the JS engine, and no external data, including no ArrayBuffers. Even if these limits are set, the process may still abort if it encounters a global out-of-memory situation.

C#
public ResourceLimits? ResourceLimits { get; set; }

See Also

Released under the MIT license