lib/immutable-core-task-instance.js
/**
 * @function nextStep
 *
 * get next step to run
 */
@function nextStep
get next step to run
@function nextStep get next step to run
async function nextStep () {
    debug('nextStep', this.status)
    if (!defined(this.status)) {
        this.status = this.record.data.status = {}
    }
    if (!defined(this.status.try)) {
        this.status.try = {}
    }
    await this[this.nextStepMethodName()]()
}
async function nextStep ( ) { debug ( 'nextStep' , this . status ) if ( ! defined ( this . status ) ) { this . status = this . record . data . status = { } } if ( ! defined ( this . status . try ) ) { this . status . try = { } } await this [ this . nextStepMethodName ( ) ] ( ) }
@function nextStep
 get next step to run
@function nextStep get next step to run
// debug status // create status object to track execution status // create try object to track number of retries for sub-steps // call method to determine next step