lib/workflow.js
function (cb) {
        this.swfClient.registerWorkflowType({
            "domain": this.config.domain,
            "name": this.config.workflowType.name,
            "version": this.config.workflowType.version
        }, cb);
    }
function (cb) {
        this.swfClient.registerWorkflowType({
            "domain": this.config.domain,
            "name": this.config.workflowType.name,
            "version": this.config.workflowType.version
        }, cb);
    }
function ( cb ) { this . swfClient . registerWorkflowType ( { "domain" : this . config . domain , "name" : this . config . workflowType . name , "version" : this . config . workflowType . version } , cb ) ; }
register the workflow
@param {Function} [cb]
register the workflow