WorkspaceConfig
Nodepod API / src / WorkspaceConfig
Interface: WorkspaceConfig
Section titled “Interface: WorkspaceConfig”Defined in: src/index.ts:107
Extends
Section titled “Extends”Properties
Section titled “Properties”baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defined in: src/index.ts:108
optionalcwd?:string
Defined in: src/script-engine.ts:1016
Inherited from
Section titled “Inherited from”enableSharedArrayBuffer?
Section titled “enableSharedArrayBuffer?”
optionalenableSharedArrayBuffer?:boolean
Defined in: src/script-engine.ts:1028
Inherited from
Section titled “Inherited from”EngineOptions.enableSharedArrayBuffer
optionalenv?:Record<string,string>
Defined in: src/script-engine.ts:1017
Inherited from
Section titled “Inherited from”handler?
Section titled “handler?”
optionalhandler?:MemoryHandler
Defined in: src/script-engine.ts:1027
Inherited from
Section titled “Inherited from”onConsole?
Section titled “onConsole?”
optionalonConsole?: (method,args) =>void
Defined in: src/script-engine.ts:1018
Parameters
Section titled “Parameters”method
Section titled “method”string
unknown[]
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”onServerReady?
Section titled “onServerReady?”
optionalonServerReady?: (port,url) =>void
Defined in: src/index.ts:109
Parameters
Section titled “Parameters”number
string
Returns
Section titled “Returns”void
onStderr?
Section titled “onStderr?”
optionalonStderr?: (data) =>void
Defined in: src/script-engine.ts:1020
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”onStdout?
Section titled “onStdout?”
optionalonStdout?: (data) =>void
Defined in: src/script-engine.ts:1019
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”transformCache?
Section titled “transformCache?”
optionaltransformCache?:Map<string,string>
Defined in: src/script-engine.ts:1031
Injected transform cache (e.g. the shared worker LRU). Takes precedence
over handler’s cache. Must behave like Map<string, string>.
Inherited from
Section titled “Inherited from”workerThreadsOverride?
Section titled “workerThreadsOverride?”
optionalworkerThreadsOverride?:object
Defined in: src/script-engine.ts:1021
isMainThread
Section titled “isMainThread”isMainThread:
boolean
parentPort
Section titled “parentPort”parentPort:
unknown
threadId
Section titled “threadId”threadId:
number
workerData
Section titled “workerData”workerData:
unknown