Expand description
The per-Worker emission (1B.2d, #4028 Decision F): each context’s compose.ts,
entry point, events fan-out class, contract and secrets manifests, and its
Worker’s wrangler.toml and sidecars, rendered from the binding model the
build derived once (WorkerBindings). The driver builds a WorkersEmit
from the checked project and its options and calls WorkersEmit::emit_all;
it decides nothing about which bindings a Worker has, or where it is.
Structs§
- Workers
Emit - Everything a context’s Workers emit reads from the checked project and the
build’s options (#3562, G2b): the same inputs the driver’s emit loop used as
locals, gathered so
WorkersEmit::emit_allproduces every context’s files and the driver only supplies them.
Functions§
- stage_
binding_ files - The files a Worker’s bindings stage beside its
wrangler.toml: P4b (#2608) eachD1database’s migrations, under themigrations_dirthe config names, and Hyperdrive H5 (#3322) which Hyperdrive bindings are MySQL and their TLS modes, forbynk deploy(a Worker with noMySqlinstance gets no file).