real-cancellable-promise
prray
real-cancellable-promise | prray | |
---|---|---|
2 | 1 | |
32 | 121 | |
- | - | |
3.2 | 0.0 | |
7 months ago | over 1 year ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
real-cancellable-promise
-
Are you sure you know Promises?
Even though #2 was the first and the result of #1 is ignored, #1 also ran to completion! In case process #1 must stop when process #2 "won" the race, then you need something like a cancellable promise! (There are other ways... You can do your own research by searching for "Why can't you cancel promises?").
-
Announcing real-cancellable-promise
Head on over to the README on GitHub for instructions on integrating your HTTP library with real-cancellable-promise and for more detailed examples.
prray
What are some alternatives?
msn-weather - ☀ A simple MSN Weather API wrapper with built-in TypeScript support.
x-crawl - x-crawl is a flexible Node.js multifunctional crawler library. Flexible usage and numerous functions can help you quickly, safely, and stably crawl pages, interfaces, and files.
react-modal-promise - Ease way to use React modal components as Promise
rocketrpc - A typesafe framework to destroy client-server barriers.
declarative-optional - A Declarative way to deal with null , undefined and promises via optional and streams
wretch - A tiny wrapper built around fetch with an intuitive syntax. :candy:
maestro-express-async-errors - Maestro is a layer of code that acts as a wrapper, without any dependencies, for async middlewares.
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
serialport - Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
next-shopify-storefront - 🛍 A Shopping Cart built with TypeScript, Tailwind CSS, Headless UI, Next.js, React.js, Shopify Hydrogen React,... and Shopify Storefront GraphQL API.