V8GlobalFlags Enumeration |
Defines global V8 options.
Namespace: Microsoft.ClearScript.V8Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.4.5
Syntax [FlagsAttribute]
public enum V8GlobalFlags
<FlagsAttribute>
Public Enumeration V8GlobalFlags
[FlagsAttribute]
public enum class V8GlobalFlags
[<FlagsAttribute>]
type V8GlobalFlags
Members Member name | Value | Description |
---|
None | 0 |
Specifies that no options are selected.
|
EnableTopLevelAwait | 1 | Obsolete.
Specifies that Top-Level Await is to be enabled.
|
DisableJITCompilation | 2 |
Specifies that just-in-time compilation is to be disabled.
|
DisableBackgroundWork | 4 |
Specifies that background work is to be disabled. By default, V8 performs various tasks
in the background, accelerating garbage collection, just-in-time compilation, and other
activities. Use this option if you encounter issues related to V8's background work.
|
See Also