callback = (err, entry) => {
					if (err) return invalidWithError(path, err);
					if (!checkHash(path, /** @type {string} */ (entry), hash)) {
						invalid();
					} else {
						jobDone();
					}
				}
@param {(WebpackError | null)=} err err
@param {string=} entry entry
@returns {void}