RuntimeHost
Nodepod API / src / RuntimeHost
Interface: RuntimeHost
Section titled “Interface: RuntimeHost”Defined in: src/host/types.ts:54
Properties
Section titled “Properties”defaultHeadless?
Section titled “defaultHeadless?”
optionaldefaultHeadless?:boolean
Defined in: src/host/types.ts:57
When true, Nodepod.boot() applies headless defaults if headless is omitted.
kind:
"node"|"browser"
Defined in: src/host/types.ts:55
Methods
Section titled “Methods”canCreateWorkers()
Section titled “canCreateWorkers()”canCreateWorkers():
boolean
Defined in: src/host/types.ts:58
Returns
Section titled “Returns”boolean
createHttpIngress()?
Section titled “createHttpIngress()?”
optionalcreateHttpIngress(opts):HttpIngress|null
Defined in: src/host/types.ts:67
Parameters
Section titled “Parameters”CreateHttpIngressOptions
Returns
Section titled “Returns”HttpIngress | null
createWorker()
Section titled “createWorker()”createWorker(
spec):HostWorker
Defined in: src/host/types.ts:59
Parameters
Section titled “Parameters”Returns
Section titled “Returns”disposeGlobalResources()?
Section titled “disposeGlobalResources()?”
optionaldisposeGlobalResources():void
Defined in: src/host/types.ts:63
Returns
Section titled “Returns”void
openSnapshotCache()?
Section titled “openSnapshotCache()?”
optionalopenSnapshotCache(opts):Promise<IDBSnapshotCache|null>
Defined in: src/host/types.ts:64
Parameters
Section titled “Parameters”OpenSnapshotCacheOptions
Returns
Section titled “Returns”Promise<IDBSnapshotCache | null>
probeProcessWorkerUrl()?
Section titled “probeProcessWorkerUrl()?”
optionalprobeProcessWorkerUrl(workerUrl?):Promise<string|null>
Defined in: src/host/types.ts:61
Probe/cache an external process-worker URL. Returns the URL if usable.
Parameters
Section titled “Parameters”workerUrl?
Section titled “workerUrl?”string
Returns
Section titled “Returns”Promise<string | null>
revokeObjectUrl()?
Section titled “revokeObjectUrl()?”
optionalrevokeObjectUrl(url):void
Defined in: src/host/types.ts:62
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void