Created
July 12, 2019 16:01
-
-
Save atishay/6d87d1fcf865f782970671a7a5bd10ae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function dontCacheRejections(args, promise) { | |
| return (promise instanceof Promise) && (promise.state === 'rejected'); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment