V8JavaScriptEngine
Namespace: Wisej.Ext.ClearScript
Assembly: Wisej.Ext.ClearScript
Represents an instance of the V8 JavaScript engine.
- C#
- VB.NET
public class V8JavaScriptEngine : V8ScriptEngine
Public Class V8JavaScriptEngine
Inherits V8ScriptEngine
Unlike WindowsScriptEngine instances, V8ScriptEngine instances do not have thread affinity. The underlying script engine is not thread-safe, however, so this class uses internal locks to automatically serialize all script code execution for a given instance. Script delegates and event handlers are invoked on the calling thread without marshaling.
Constructors
V8JavaScriptEngine(name, constraints, flags)
| Name | Type | Description |
|---|---|---|
| name | String | |
| constraints | V8RuntimeConstraints | |
| flags | V8ScriptEngineFlags |