ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8CacheKind Enumeration
V8CacheResult Enumeration
V8CpuProfile Class
V8CpuProfile.Node Class
V8CpuProfile.Node.HitLine Structure
V8CpuProfile.Sample Class
V8CpuProfileFlags Enumeration
V8GlobalFlags Enumeration
V8Runtime Class
V8RuntimeConstraints Class
V8RuntimeDebuggerEventArgs Class
V8RuntimeFlags Enumeration
V8RuntimeHeapInfo Class
V8RuntimeViolationPolicy Enumeration
V8Script Class
V8ScriptEngine Class
V8ScriptEngineFlags Enumeration
V8Settings Class

# V8GlobalFlags Enumeration

Defines global V8 options.
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    [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

#### Reference

Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft