/usr/local/lib/node_modules/pm2/node_modules/extrareqp2/lib/cancel
NameSizeModeActions
Cancel.js3850644editdlrm
CancelToken.js12400644editdlrm
isCancel.js1020644editdlrm
Edit: /usr/local/lib/node_modules/pm2/node_modules/extrareqp2/lib/cancel/Cancel.js (385B)
'use strict'; /** * A `Cancel` is an object that is thrown when an operation is canceled. * * @class * @param {string=} message The message. */ function Cancel(message) { this.message = message; } Cancel.prototype.toString = function toString() { return 'Cancel' + (this.message ? ': ' + this.message : ''); }; Cancel.prototype.__CANCEL__ = true; module.exports = Cancel;