Skip to main content

emit_worker_compose

Function emit_worker_compose 

Source
pub fn emit_worker_compose(
    context: &str,
    plan: &ComposePlan,
    layout: &WorkerLayout,
    table: &UnitTable,
    unit_tables: &HashMap<String, UnitTable>,
    binding_modules: &HashMap<String, String>,
    unit_consumes: &HashMap<String, Vec<String>>,
    unit_consumes_aliases: &HashMap<String, HashMap<String, String>>,
    unit_flattened: &HashMap<String, HashMap<String, String>>,
    locale_bundle: Option<&MessageBundleInfo>,
    import_ext: ImportExt,
    bindings: &[WorkerBinding],
    harness_clock: bool,
    uses: &[String],
    used_decl_paths: &HashMap<String, HashMap<String, PathBuf>>,
) -> (TsProgram, bool)