Skip to content

EnableCompileCacheResult

[<Interface>]
type EnableCompileCacheResult =
    abstract member directory: string option with get, set
    abstract member message: string option with get, set
    abstract member status: float with get, set
    static member Create (status: float, ?message: string, ?directory: string) : EnableCompileCacheResult
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member directory: string option with get, set

If the compile cache is enabled, this contains the directory where the compile cache is stored. Only set if status is module.constants.compileCacheStatus.ENABLED or module.constants.compileCacheStatus.ALREADY_ENABLED.

abstract member message: string option with get, set

If Node.js cannot enable the compile cache, this contains the error message. Only set if status is module.constants.compileCacheStatus.FAILED.

abstract member status: float with get, set

One of the constants.compileCacheStatus

Methods

static member Create (status: float, ?message: string, ?directory: string) : EnableCompileCacheResult