diff --git a/index.js b/index.js index 873902b..72b0d1d 100644 --- a/index.js +++ b/index.js @@ -119,6 +119,8 @@ Q.Promise = QPromise Q.CancellationError = CancellationError +Q.CancellationState = CancellationState + function AlreadyCancelledFn(){ throw new Error('Already cancelled') }