Skip to main content

CompileFunctionOptions

interface CompileFunctionOptions
extends BaseOptions

Properties Jump to heading

optional
Jump to headingcachedData: Buffer | undefined

Provides an optional data with V8's code cache data for the supplied source.

optional
Jump to headingproduceCachedData: boolean | undefined

Specifies whether to produce new cache data.

The sandbox/context in which the said function should be compiled in.

optional
Jump to headingcontextExtensions: Object[] | undefined

An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling

Back to top