whole_func_string: function determineWorkerENV(worker) {
          const options = {};
  
          if (worker.service_context) {
              const envConfig = JSON.parse(worker.service_context);
              _.assign(options, envConfig);
              options.__process_restart = true;
              options.service_context = worker.service_context;
          }
  
          return options;
      }
func_code_string: function determineWorkerENV(worker) {
          const options = {};
  
          if (worker.service_context) {
              const envConfig = JSON.parse(worker.service_context);
              _.assign(options, envConfig);
              options.__process_restart = true;
              options.service_context = worker.service_context;
          }
  
          return options;
      }
func_documentation_string: assignment is set at /lib/api/start_workers