Skip to content

Commit

Permalink
Add .interruptions to getInvocationInfo().
Browse files Browse the repository at this point in the history
  • Loading branch information
mikermcneil committed May 25, 2018
1 parent 6fa3762 commit 3b2cd40
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/private/Deferred.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,10 +738,17 @@ Deferred.prototype.inspect = function (){ return '[Deferred]'; };
* > It provides a public API for accessing Deferred state such as `_timeout`.
*
* @returns {Dictionary}
* @property {Number?} timeout
* @property {Array?} @of {Dictionary} interruptions
* @property {String} type
* @property {String|Dictionary|Array} rule
* @property {String|Function?} handler
* @property {Boolean} isThenable
*/
Deferred.prototype.getInvocationInfo = function (){
return {
timeout: this._timeout
timeout: this._timeout,
interruptions: this._userlandAfterExecLCs
};
};

Expand Down

0 comments on commit 3b2cd40

Please sign in to comment.