lib/node.io/process_master.js
function () {
                    //Check if any input was added dynamically
                    if (job.input.length > 0) {
                        job.is_complete = false;
                        return false;
                    }

                    //Wait for workers or instances that are still working
                    return worker_count > 0 ? areWorkersComplete() : job.instances <= 0;
                }
function () {
                    //Check if any input was added dynamically
                    if (job.input.length > 0) {
                        job.is_complete = false;
                        return false;
                    }

                    //Wait for workers or instances that are still working
                    return worker_count > 0 ? areWorkersComplete() : job.instances <= 0;
                }
function ( ) { //Check if any input was added dynamically if ( job . input . length > 0 ) { job . is_complete = false ; return false ; } //Wait for workers or instances that are still working return worker_count > 0 ? areWorkersComplete ( ) : job . instances <= 0 ; }
No input? We might be done..
No input? We might be done ..