pub fn attach_in(
workers: &mut Vec<LocalWorker>,
instance_id: &str,
host_app: &str,
role: &str,
) -> AttachmentExpand description
Pure attachment rule over the known workers: an existing (host, role)
is reused; a new one is added while fewer than WORKER_CAP exist;
past the cap the session maps to role general (of its host when that
worker exists, else the first general worker, else the first worker).
attach makes room first, so this fallback only happens when every
worker is in use.