WorkerProxyOptions
Defined in: src/context/worker-proxy.ts:40
Options for creating a worker proxy.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”destroyTimeout?
Section titled “destroyTimeout?”
optionaldestroyTimeout:number
Defined in: src/context/worker-proxy.ts:46
Timeout for graceful DESTROY before forced termination in milliseconds (default: 5000)
renderTimeout?
Section titled “renderTimeout?”
optionalrenderTimeout:number
Defined in: src/context/worker-proxy.ts:44
Timeout for render operations in milliseconds (default: 120000)
timeout?
Section titled “timeout?”
optionaltimeout:number
Defined in: src/context/worker-proxy.ts:42
Default request timeout in milliseconds (default: 30000)
workerFactory()?
Section titled “workerFactory()?”
optionalworkerFactory: (url) =>WorkerTransport
Defined in: src/context/worker-proxy.ts:48
Custom factory to create the worker transport (useful for testing or Node.js)
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
url | string | URL |