createInlineWorker

function createInlineWorker
packages/workers/src/inline.ts:51
createInlineWorker(registry: TaskRegistry, now?: () → number, serve: Omit<ServeOptions, 'now'>) → WorkerPort
registryTaskRegistry
Undocumented
now() → number
Undocumented
serveOmit<ServeOptions, 'now'>

the rest of the loop's options. Only the level hook is worth passing: an inline worker shares the process's timing hub, so the host's sink is already attached and getTimer in host.ts is already live — but the pool still broadcasts the level, and something has to be there to hear it or the message is a silent no-op that looks exactly like a working one.

ReturnsWorkerPort