Giters
sindresorhus
/
p-cancelable
Create a promise that can be canceled
Geek Repo:
Geek Repo
Github PK Tool:
Github PK Tool
Stargazers:
440
Watchers:
8
Issues:
19
Forks:
24
sindresorhus/p-cancelable Issues
How to use this with p-lazy?
Closed
a year ago
Comments count
2
Thenable isn't cancelable anymore
Updated
a year ago
Comments count
2
Convert abortable Promise-returning functions to cancelable promises
Closed
2 years ago
【Discussion】Object.setPrototypeOf(PCancelable.prototype, Promise.prototype)
Closed
2 years ago
Comments count
1
Willing to add p-signal to the related section?
Closed
2 years ago
Comments count
7
isCanceled is not set to true when shouldReject is set to false and promise is rejected in onCancel
Closed
2 years ago
Comments count
3
Node Engine Lock
Closed
2 years ago
Comments count
1
Improve the message error when attaching `onCancel` after the promise settled
Closed
2 years ago
Comments count
1
`onCancel` handlers should be called immediately if the promise was cancelled already
Closed
4 years ago
Comments count
8
About `AbortController`
Closed
4 years ago
Comments count
2
Utility static function to convert executor into a PCancelable
Closed
4 years ago
Comments count
2
Not compatible with global Bluebird promises
Updated
5 years ago
Comments count
5
TypeScript types don't work for calling .then on a PCancelable promise
Closed
5 years ago
Comments count
4
Support wrapping an existing promise
Closed
6 years ago
Comments count
8
Passing cancellation reason to cancel handler
Closed
6 years ago
Comments count
5
Polyfill ?
Closed
6 years ago
Comments count
1
React-Native: Error on module init
Closed
6 years ago
Comments count
1
Pass the onCancel callback as the last parameter instead of the first
Closed
7 years ago
Comments count
1
Decorator
Updated
8 years ago