code: function attachActionsToTransport(transportObj, _actions) {
      let actionList = (typeof _actions === 'object' ? _actions : this[actions]);
      Object.keys(actionList).forEach((name) => {
        let actionObj = this[actions][name] && this[actions][name].action;
        if (actionObj) {
          let opt = this[actions][name].opt;
          if (opt.transport && opt.transport !== transportObj.name) return;
        }
        let k = transportObj._id + ':' + actionObj._id;
        if (typeof this[tracking][k] !== 'undefined') return;
        transportObj.routeAction(actionObj);
        this[tracking][k] = true;
      });
      for (let i = 0; i < unsavedActions.length; i++) {
        let item = unsavedActions[i];
        if (item.opt.transport && item.opt.transport !== transportObj.name) continue;
        let k = transportObj._id + ':' + item.action._id;
        if (typeof this[tracking][k] !== 'undefined') continue;
        transportObj.routeAction(item.action);
        this[tracking][k] = true;
      }
    }
docs: /*
  Attach all current actions to a transport.