Skip to content

CompileCacheStatus

[<Interface>]
type CompileCacheStatus =
    abstract member ALREADY_ENABLED: float
    abstract member DISABLED: float
    abstract member ENABLED: float
    abstract member FAILED: float
    static member Create (ENABLED: float, ALREADY_ENABLED: float, FAILED: float, DISABLED: float) : CompileCacheStatus
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member ALREADY_ENABLED: float

The compile cache has already been enabled before, either by a previous call to enableCompileCache, or by the NODE_COMPILE_CACHE=dir environment variable. The directory used to store the compile cache will be returned in the directory field in the returned object.

abstract member DISABLED: float

Node.js cannot enable the compile cache because the environment variable NODE_DISABLE_COMPILE_CACHE=1 has been set.

abstract member ENABLED: float

Node.js has enabled the compile cache successfully. The directory used to store the compile cache will be returned in the directory field in the returned object.

abstract member FAILED: float

Node.js fails to enable the compile cache. This can be caused by the lack of permission to use the specified directory, or various kinds of file system errors. The detail of the failure will be returned in the message field in the returned object.

Methods

static member Create (ENABLED: float, ALREADY_ENABLED: float, FAILED: float, DISABLED: float) : CompileCacheStatus