SharedHostOptions.worker
property · packages/primitives/src/net/sharedHost.ts:23
readonly worker: () => {
readonly port: MessagePort
}The SharedWorker whose entry calls serve. Constructed by the
application, since a bundler finds a worker only in a literal
new SharedWorker(new URL('./worker.ts', import.meta.url), …).