Skip to content

Commit

Permalink
expose cancellation state
Browse files Browse the repository at this point in the history
  • Loading branch information
splitice committed Apr 22, 2024
1 parent d32fc69 commit c48d1d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ Q.Promise = QPromise

Q.CancellationError = CancellationError

Q.CancellationState = CancellationState

function AlreadyCancelledFn(){
throw new Error('Already cancelled')
}
Expand Down

0 comments on commit c48d1d3

Please sign in to comment.