pub fn stand_in_name(context: &str, worker: &str) -> StringExpand description
The Worker name context‘s stand-in for worker runs under. Not the
foreign Worker’s own: a -c config’s Worker also registers in wrangler’s
dev registry, which every local wrangler dev shares (verified on 4.149.0),
so under the real name it would answer other sessions’ bindings to that
Worker and, once stopped, could leave a stale entry for --local-worker to
connect to. The context’s binding is pointed at this name instead
(point_at_stand_ins).
Kept within Cloudflare’s 63-character Worker name limit: a longer name is cut and given a hash of the whole, so two stand-ins never share one.