async function buildApexInstances(processPidReferences) {
					if (processPidReferences) {
						// Assign pids to all instance in Config.Modules
						for (let instname in Config.Modules) {
							if (instname == 'Deferred')
								continue;
							Apex[instname] = genPid();
						}
						log.v('Apex List', JSON.stringify(Apex, null, 2));
					}

					// Now populate all of the modules from config.json
					for (let instname in Config.Modules) {
						if (instname === 'Deferred')
							continue;
						await processApexPar(Apex[instname], Config.Modules[instname], processPidReferences);
					}
				}
async function buildApexInstances(processPidReferences) {
					if (processPidReferences) {
						// Assign pids to all instance in Config.Modules
						for (let instname in Config.Modules) {
							if (instname == 'Deferred')
								continue;
							Apex[instname] = genPid();
						}
						log.v('Apex List', JSON.stringify(Apex, null, 2));
					}

					// Now populate all of the modules from config.json
					for (let instname in Config.Modules) {
						if (instname === 'Deferred')
							continue;
						await processApexPar(Apex[instname], Config.Modules[instname], processPidReferences);
					}
				}
async function buildApexInstances ( processPidReferences ) { if ( processPidReferences ) { // Assign pids to all instance in Config.Modules for ( let instname in Config . Modules ) { if ( instname == 'Deferred' ) continue ; Apex [ instname ] = genPid ( ) ; } log . v ( 'Apex List' , JSON . stringify ( Apex , null , 2 ) ) ; } // Now populate all of the modules from config.json for ( let instname in Config . Modules ) { if ( instname === 'Deferred' ) continue ; await processApexPar ( Apex [ instname ] , Config . Modules [ instname ] , processPidReferences ) ; } }
Write the modules and all instances to the cache
Write the modules and all instances to the cache