code: function next(actionData) {
          index++;
          if(index === store.middlewares.length) {
              done(actionData);
          } else {
              store.middlewares[index](store, actionName, actionData, next);
          }
      }
docs: Call next middleware or done
  @function next
  @param {*} actionData - An action data