ServeOptions

interface ServeOptions
packages/workers/src/host.ts:43

Members

nowreadonly

now?: () → number

Injected so this stays free of any host clock API.

onTimingLevelreadonly

onTimingLevel?: (level: string) → void

Told when the page changes how much it wants described.

A callback rather than this module attaching a sink itself, because which levels exist and what a sink does with one are the host's business — packages/* may not name console.timeStamp. The loop owns the subscription, so decoding the message stays in the one place that already decodes every other message kind.