Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
Promise
A promise is an object returned by an asynchronous function, which represents the current state of the operation. At the time the promise is returned to the caller, the operation often isn’t finished, but the promise object provides methods to handle the eventual success or failure of the operation.
- GitHub: https://github.com/topics/promise
- Wikipedia: https://en.wikipedia.org/wiki/Futures_and_promises
- Created by: Barbara Liskov, Liuba Shrira, Mark S. Miller, Dean Tribble, Rob Jellinghaus, Daniel P. Friedman
- Released: 1988
- Related Topics: future, async-await, callback, deferred, coroutines, fiber, concurrency,
- Last updated: 2025-01-24 00:24:59 UTC
- JSON Representation
https://github.com/chipjarred/async
Swift Async package that makes creating and using asynchronous tasks easier.
async asynchronous completion-handler concurrency concurrent-programming dispatchqueue future gcd grand-central-dispatch multithreading mutex promise swift-framework swift-package-manager thread thread-safety
Last synced: 12 Dec 2024
https://github.com/alialmasi/earth-animation
Simple Earth Animation done with Promises (fetch() API) in JS
animation animation-js earth fetch-api javascript js promise promises text-animation text-animations
Last synced: 13 Dec 2024
https://github.com/muthuishere/declarative-optional
A Declarative way to deal with null , undefined and promises via optional and streams
async javascript optional promise
Last synced: 13 Dec 2024
https://github.com/jmendiara/foratata
Concurrent TaskQueue with lifecycle notification
Last synced: 10 Jan 2025
https://github.com/lbwa/promise-then
⤴️ Promises/A+ implementation
async asynchronous asynchronous-programming promise promises-aplus
Last synced: 23 Dec 2024
https://github.com/lfb/javascript-basics
理解 JavaScript 的基础知识
javascript promise scope-chain
Last synced: 01 Jan 2025
https://github.com/palanik/promiseful
🤞 Useful patterns with Promise functions
javascript promise promise-library
Last synced: 18 Dec 2024
https://github.com/kritollm/retry-wrapper
Easily add retry logic to any function returning a Promise.
Last synced: 01 Jan 2025
https://github.com/appgeist/get-file-from-url
Utility function to download a file from a specified URL
download file nodejs promise server-side utilities
Last synced: 25 Dec 2024
https://github.com/eliranwong/precious-bible-promises
Precious Bible Promises (compiled by Samuel Clarke) [2472 verses tagged]
bible precious-bible-promises promise script tool uniquebible
Last synced: 01 Jan 2025
https://github.com/denysdovhan/slides-promises
Slides for my talk about Promises
chernivtsijs javascript promise slide slides spectacle
Last synced: 17 Jan 2025
https://github.com/pranit-harekar/async-middleware
A lightweight promise based async middleware package with complete typings
asynchronous middleware promise typescript
Last synced: 26 Dec 2024
https://github.com/lsongdev/promise.js
:zap: A fast and simple Promise/A+ implementation
Last synced: 02 Jan 2025
https://github.com/keyvan-m-sadeghi/babel-plugin-transform-util-promisify
Transforms util.promisify for node versions < 8
babel babel-plugin promise promisify
Last synced: 26 Dec 2024
https://github.com/cweili/async-throttle-cache
Throttle asynchronous functions and return cached result for each function calls. It can be used for rate limit.
async asynchronous await cache promise rate-limit rate-limiter request throttle
Last synced: 10 Jan 2025
https://github.com/singcl/promise
🦁 Step by step build a Promise Class & Promise/Promise A+
callback coverage david fossa-status promise size then thenable travis-ci
Last synced: 03 Jan 2025
https://github.com/a-x-/parallel
Runs a bunch of promises like Promise.all does, but takes an object instead of array
Last synced: 11 Jan 2025
https://github.com/rpominov/rescript-promise
Another Promise bindings for ReScript
Last synced: 24 Jan 2025
https://github.com/mrdulin/go-promise
Go language implementation of Promise static method in JavaScript.
concurrency concurrent-programming go golang javascript promise
Last synced: 12 Jan 2025
https://github.com/ibrahimtanyalcin/rafx
requestAnimationFrame based `thenable` for animations and task management
animation async css-animation evergreen ie9 javascript js performance polyfill promise requestanimationframe task task-queue task-runner web-animations-api
Last synced: 24 Jan 2025
https://github.com/royalicing/syrup
Asynchronous data flow in Swift using enums
async data-flow enum promise swift swift-library
Last synced: 18 Jan 2025
https://github.com/stuart-williams/q6
Just a bunch of ES6 Promise helper functions
async es6-promise node promise promises q q6
Last synced: 19 Jan 2025
https://github.com/ronanyeah/promise-workshop
FAC/GSG Workshop - April 2017
javascript promise promise-workshop tutorial
Last synced: 30 Nov 2024
https://github.com/ovictoraurelio/promise-remotely
A simple and powerful Promise lib that give to you capability to remote resolve/reject a promise.
async await await-promises concurrency javascript promise remotely
Last synced: 13 Jan 2025
https://github.com/zeecoder/z-image-preloader
Image preloading with promise support.
Last synced: 29 Nov 2024
https://github.com/dutu/gemini-api-node
Gemini API client for REST and WebSocket
api api-client api-wrapper bitcoin cryptocurrency gemini gemini-api promise push-api rest rest-api sandbox websocket websocket-api
Last synced: 16 Jan 2025
https://github.com/davidgtonge/pdi
Node.JS Promise based DI library
dependency-injection di-container promise
Last synced: 07 Nov 2024
https://github.com/prohetamine/forpromise
⚙️ While for promise
javascript npm npm-package promise
Last synced: 20 Jan 2025
https://github.com/artdecocode/spawncommand
Spawn a ChildProcess with a promise property resolved on exit with stdout, stderr and code.
async child-process fork javascript node nodejs promise spawn
Last synced: 08 Jan 2025
https://github.com/yuriipohorilets/goit-js-hw-09
📚 JS-HW-09 | Async. Data. Promise
Last synced: 16 Jan 2025
https://github.com/gpittarelli/ineedthis
Management of statefull dependencies(/services)
component dependencies javascript mount promise state state-management typescript
Last synced: 24 Nov 2024
https://github.com/gabemeola/resolve-chain
Chains pending promises and captures resolved return values
Last synced: 20 Jan 2025
https://github.com/ashokdey/sendotp-promise
promise bug fixed api for sendotp by msg91
async-await msg91 nodejs promise sendotp travis-ci
Last synced: 30 Nov 2024
https://github.com/worker-tools/extendable-promise
A promise that can be delayed (extended) via repeated calls to waitUntil.
Last synced: 16 Jan 2025
https://github.com/darky/klubok
Do notation pipes for Promise-based or pure functions which easy to mock
do-notation functional-programming javascript mock pipe promise typescript unit-testing
Last synced: 11 Jan 2025
https://github.com/shisama/toggle-fullscreen
Simple to use Fullscreen API with Promise for cross-browser.
cross-browser fullscreen fullscreen-api javascript promise
Last synced: 20 Jan 2025
https://github.com/sevenwestmedia-labs/promise-completion-source
Creates a promise producer which controls the completion/rejection of the promise available through the .promise key.
Last synced: 16 Jan 2025
https://github.com/snowyu/promise-sequence.js
Sequnence execution promise.
asynchronous pipeline promise sequence
Last synced: 30 Dec 2024
https://github.com/rodrigo-lima/thenkit
Promises/A+ implementation in Swift 2 inspired by Pinky - http://lazd.github.io/Pinky/
Last synced: 24 Nov 2024
https://github.com/wolven531/promise-tests
Used to demonstrate and explain different promise and async concepts and libraries
async async-await asynchronous javascript js nodejs promise promise-library promises react reactjs reactts ts typescript
Last synced: 27 Dec 2024
https://github.com/kubatbekkk/async-race
This TypeScript OOP project involves building an SPA for managing a collection of cars, operating their engines, and displaying race statistics. The project is designed to train the use of async functions in JavaScript, including Promises and async/await, while utilizing OOP principles.
Last synced: 12 Jan 2025
https://github.com/sohanemon/genius-car-client
readme: axios, react-hook-form, promise handling
axios promise react react-hook-form react-hooks swiper
Last synced: 15 Jan 2025
https://github.com/rousan/es6-promise-shim
A lightweight implementation of Promise in pure ES5 code for older JS engines
es es6 es6-harmony es6-promise es6-promise-shim javascript-promise polyfill ponyfill promise promise-implementations promise-library promise-polyfill promise-shim
Last synced: 22 Jan 2025
https://github.com/thomaschampagne/promise-tron
PromiseTron is a promise based communication system which simplify data exchange between electron main and renderer processes
electron ipcmain ipcrenderer promise
Last synced: 22 Jan 2025
https://github.com/maxgfr/node-simple-context
A minimalist context for node, inspired by React Context API
async-hooks async-local-storage context context-api global-variables node-context promise typescript
Last synced: 06 Nov 2024
https://github.com/seanghay/promisive
Recursive Promise.all that works on object and array
Last synced: 22 Jan 2025
https://github.com/kevinokerlund/cancellable-promise
An extension of native ES6 Promises that provides the ability to cancel and/or clear promise chains.
clear-promise-chains es6-promise javascript-promise native-es6-promises promise promise-cancelling promise-chain promises
Last synced: 22 Jan 2025
https://github.com/d4nyll/resolve-when
Returns a promise that resolves once condition is met
Last synced: 15 Nov 2024
https://github.com/b-gran/promise-plumbing
Functional, Promise-based control flow primitives inspired by async
async control control-flow flow functional functional-programming promise
Last synced: 28 Dec 2024
https://github.com/peakchen90/promise
write a promise polyfill
flow jest polyfill promise promisesaplus rollup
Last synced: 19 Jan 2025
https://github.com/likerrr/gitfig
Resolves git config
asynchronous config git gitconfig javascript js object promise
Last synced: 14 Jan 2025
https://github.com/pimm/bluster
Test both promises and callbacks in one go
async callback coverage javascript jest promise test
Last synced: 09 Jan 2025
https://github.com/gkovacs/cfy
Use generators and yield to write regular callback-based functions
async-functions callback livescript nodeback promise
Last synced: 30 Dec 2024
https://github.com/apal21/sqs-delayed-notification
Amazon SQS wrapper for delayed notification that can be used for exponential back off for applications such as custom callbacks or webhooks
batch dead-letter-queues notifications promise sqs webhook webhooks
Last synced: 31 Dec 2024
https://github.com/tjenkinson/promise-chain-settled
Provides a way of knowing when a promise chain is settled. Useful for testing.
fulfilled promise promise-chain rejected resolved settled testing
Last synced: 21 Dec 2024
https://github.com/juanjoarreola/osprey
A Library to connect to APIs built on top of URLSession
api-client json json-api multipart networking promise request swift urlsession
Last synced: 16 Jan 2025
https://github.com/cheprasov/js-worker-thread
The WorkerThread wraps a Web Worker with a Promise, also the class creates a worker script on the fly (without having to create separate worker files). You can "inline" your worker function in the same js file as main logic.
Last synced: 24 Nov 2024
https://github.com/wsmd/sleepsort-promise
😴 A Promise based implementation of SleepSort
algorithm promise sleepsort sort sorting-algorithms
Last synced: 21 Dec 2024
https://github.com/shiningjason/load-script
💫 A simple async script loader for modern browsers.
async browser javascript load-js load-script npm-package promise
Last synced: 24 Dec 2024
https://github.com/martinsbicudo/promise-with-events
Simple lib to use promises with events :pager:
events javascript promise promise-with-events typescript
Last synced: 23 Jan 2025
https://github.com/avivharuzi/promise-all-batch
Call concurrent promises in batches
batch concurrency esm javascript nodejs promise typescript
Last synced: 24 Dec 2024
https://github.com/woubuc/deferred
A Promise that can be resolved externally
async deferred javascript promise typescript
Last synced: 24 Nov 2024
https://github.com/jzplp/promisejz
符合Promises/A+规范的Javascript异步编程Promise的完整实现,并且提供了与ECMAScript同样的实用函数。
Last synced: 29 Dec 2024
https://github.com/dzek69/rmdir-promise
Promisified `rmdir` npm module.
es6 javascript node npm promise promises rmdir
Last synced: 14 Jan 2025
https://github.com/cudiph/node-gtrans
Free google translate API
google-translate-api language nodejs promise translator typescript
Last synced: 24 Nov 2024
https://github.com/fabervitale/pinky-promise
A Promise A+ spec compliant implementation written in Typescript
promise promise-library promiseaplus typescript
Last synced: 27 Oct 2024
https://github.com/trambarhq/relaks-hacker-news-example
An example of using Relaks to create a Hacker News reader
async asynchronous await hacker-news hn preact promise react relaks
Last synced: 07 Jan 2025
https://github.com/kritollm/cb-topromise-wrapper
Easily convert a function that takes a callback to return a promise instead.
async callback convert promise
Last synced: 19 Jan 2025
https://github.com/d-band/micro-fs
File system and globbing utilities
copy delete filesystem fs glob move promise
Last synced: 24 Nov 2024
https://github.com/nazar-pc/async-eventer
A tiny library with asynchronous Promise-based implementation of events dispatching and handling
async asynchronous dispatch event handle promise
Last synced: 24 Nov 2024
https://github.com/shinnn/npcache
Manipulate cache of npm packages
cache javascript nodejs npm promise stream
Last synced: 07 Dec 2024
https://github.com/shinnn/reject-unsatisfied-npm-version
Make a Promise rejection unless the currently installed npm CLI satisfies the required version
async javascript nodejs npm promise rejection version
Last synced: 07 Dec 2024
https://github.com/shinnn/load-from-cwd-or-npm
Load a module from either CWD or npm CLI directory
async fallback import javascript loading module-loader nodejs npm promise
Last synced: 07 Dec 2024
https://github.com/nerdify/redis-cache
Minimalist cache function for redis
cache hacktoberfest promise promises redis
Last synced: 17 Dec 2024
https://github.com/igorskyflyer/npm-common-types
🔦 Provides frequently used types for your TypeScript projects. 🦄
back-end common generic igorskyflyer interface javascript js node promise shared trim ts types typescript
Last synced: 06 Nov 2024
https://github.com/shinnn/enumerate-files
List all files in a given directory
asynchronous enumeration filesystem javascript list nodejs promise readdir set
Last synced: 07 Dec 2024
https://github.com/another-guy/promisify-auth0
Auth0-js wrapper with Promise based interface
auth0 authentication authorization browser brucke javascript jwt login oauth2 promise promisify sdk wrapper
Last synced: 14 Dec 2024
https://github.com/d-exclaimation/gocurrent
Go Concurrent Utilities (Breaking changes on go 1.18)
asynchronous future futures go golang promise
Last synced: 29 Dec 2024
https://github.com/stefee/promise-settled-aggregate
Await an array of promises to be settled, then reject with an AggregateError upon failure, or resolve with an array of values upon success.
aggregate aggregateerror allsettled promise promises reject settled
Last synced: 14 Dec 2024
https://github.com/shinnn/output-file
Write a file and create its ancestor directories if needed
ancestor-directories async javascript mkdir mkdirp nodejs promise writefile
Last synced: 07 Dec 2024
https://github.com/shinnn/read-exif
Get Exif data from a JPEG file without reading whole contents
exif javascript jpeg jpg metadata nodejs promise
Last synced: 07 Dec 2024
https://github.com/shinnn/read-utf8-file
Read contents of a UTF-8 file
async filesystem javascript nodejs promise read utf-8
Last synced: 07 Dec 2024
https://github.com/vitalets/promised-map
A map of promises that can be resolved or rejected by key
Last synced: 21 Dec 2024
https://github.com/jonathanstowe/manifesto
Make a supply of the results of Promises
Last synced: 15 Dec 2024
https://github.com/shinnn/win-user-installed-npm-cli-path
Resolve the path of `npm-cli.js` included in the user-installed npm on Windows
javascript nodejs npm path promise resolution windows
Last synced: 07 Dec 2024
https://github.com/ckotzbauer/node-task-runner
A promise-based dependency-free task runner for Node
cli node promise task task-runner
Last synced: 15 Oct 2024