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-06 00:24:51 UTC
- JSON Representation
https://github.com/appgeist/exec
Utility function to execute a shell command and return a Promise
exec nodejs promise server-side shell utilities
Last synced: 25 Dec 2024
https://github.com/ayush-kanduri/dog-images-gallery
This project uses the Dog CEO API to fetch all the images of the dog's breed or sub-breed. This API Web App uses the Async-Await & Promises for the fetch() API calls. It also implements a setTimeout() for the Asynchronicity of the website. It is built using HTML, CSS, Javascript.
api async-await css fetch-api html javascript promise
Last synced: 13 Nov 2024
https://github.com/dinoboff/git-spawned-promise
Promisify a git child process, settling once the process exits and its stdio streams and transformers close.
Last synced: 28 Nov 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/ricmoo/promise-rationing
Promise-like interface to limit how many concurrent promises are executed.
Last synced: 16 Dec 2024
https://github.com/gregros/promise-stuff
Utility functions for promises!
async javascript promise typescript utility
Last synced: 25 Dec 2024
https://github.com/swivelgames/thenable-events
Powerful event-based system that introduces thenable objects to enable promise-like event handling.
emitter es2015 es2015-modules es6 events javascript library modules node nodejs promise promises thenable utilities
Last synced: 13 Nov 2024
https://github.com/neki-dev/promise-partial
🧩 Partial (mixed) promise execution
Last synced: 27 Oct 2024
https://github.com/joaquimnetocel/articleasynchronousjavascript
UNDERSTANDING ASYNCHRONOUS CODE OPERATIONS WITH JAVASCRIPT
async async-await async-await-javascript asynchronous asynchronous-functions asynchronous-programming event-loop fetch fetch-api javascript javascript-engine javascript-environment macrotask-queue microtask-queue promise promise-chaining promises settimeout synchronous task-queue
Last synced: 05 Dec 2024
https://github.com/joyarzun/say-promise
Promise version of say
javascript nodejs npmjs promise say
Last synced: 26 Nov 2024
https://github.com/grimmbraten/all-aboard
Perform parallel and/or sequential asynchronous tasks with ease
async asynchronous await parallel promise sequence
Last synced: 04 Jan 2025
https://github.com/blissful89/utall
⚙️ Utility library ⚙️
async asynchronous browser monad node promise util utility
Last synced: 22 Nov 2024
https://github.com/devchris03/buscador-imagenes
Buscador de imágenes usando la API de pixabay
api-pixabay css html javscript js promise
Last synced: 13 Dec 2024
https://github.com/bitcoin-api/drf
drf - Do Redis Function
async function helper javascript node nodejs promise redis
Last synced: 13 Nov 2024
https://github.com/untool/eprom
A deliberately incorrect resettable promise-like JavaScript async primitive powering untool's server-side rendering and module reloading. Mostly conforms with the Promises/A+ spec.
deferred library promise promise-a-plus thenable
Last synced: 04 Jan 2025
https://github.com/singcl/co
🎷 A counterfeit co & comprehension of thunk function and function* in javascript.
Last synced: 03 Jan 2025
https://github.com/keidrun/fantasy-utils
Small utils for Functional Programming with Promise.
functional functional-programming lodash promise promise-support ramda
Last synced: 23 Nov 2024
https://github.com/thitikorn-nupan/nod-js-crud-mysql-async-understand-winston-env
this project I got to know .env file , it's so good when I've to connect any database I'm not necessary to write my info-database in my .js file. Also I've knew the winston module this libary it's good for logging and save any log to some file. Also I connected the database with pg (pooling) many people says best proformance. (So do I)
async-await environment javascript mysql nodejs pooling promise winston-logger
Last synced: 25 Dec 2024
https://github.com/openbytedev/rmdir-recursive-async
Delete a directory recursively asynchronously
async delete delete-files directory nodejs npm-package promise recursive remove rmdir
Last synced: 15 Nov 2024
https://github.com/ivanovx/js-docs
JavaScript Next features and their demos
dynamic ecmascript ecmascript6 es2015 es6 iterator javascript promise proxies spread string-interpolation unicode weakmap weakset
Last synced: 25 Dec 2024
https://github.com/afeiship/next-promise-compose
Promise compose for next.
async compose next one-by-one promise sync
Last synced: 14 Dec 2024
https://github.com/jaid/read-file-json
Reads JSON and JSON5 from a file. Returns null if file does not exist (or is a directory) instead of throwing an Error.
file filesystem fs json json-parser json5 json5-parser lib library load-file loader promise read-file util utility
Last synced: 25 Dec 2024
https://github.com/jaid/resolve-any
Calls a value if it is a function, simply returns it otherwise.
function lib library promise resolve resolve-any string util utility
Last synced: 25 Dec 2024
https://github.com/jaid/git-flush
Commits and pushes if repository is dirty. Does nothing otherwise.
git git-commit git-flush git-push lib library promise util utility
Last synced: 25 Dec 2024
https://github.com/jaid/fetch-git-repo
Promise wrapper for npm package download-git-repo.
download-git-repo download-repo fetch git git-fetch github github-api lib library promise repository util utility wrapper
Last synced: 25 Dec 2024
https://github.com/abhay-khandwekar/react-hooka
"react-hooka" is React-hook based state management library. "react-hooka" supports both synchronous and queued-asynchronous (FIFO) actions. All asynchronous state update operations are guaranteed to change the application state in the order of asynchronous-operation invocation.
async-await asynchronous asynchronous-actions asynchronous-store hook hooks javascript-promise promise react react-components react-hook-store react-hooks slice-state state-management store store-slice synchronous-store
Last synced: 24 Dec 2024
https://github.com/kotorik/ascii2d
Node.js wrapper for ascii2d.net
api api-client async image-search nodejs promise
Last synced: 18 Dec 2024
https://github.com/ethanent/poky
Delay with promises in Node
delay node nodejs promise promises settimeout wait
Last synced: 26 Dec 2024
https://github.com/tonypythoneer/bluebird-ployfill
A polyfill for using bluebird as Promise (when you don't like the original one.)
bluebird global javascript promise typescript
Last synced: 26 Dec 2024
https://github.com/kaelzhang/node-redis-extra
redis with promisified commands.
javascript next nodejs promise redis
Last synced: 14 Dec 2024
https://github.com/tsertkov/easy-whois
Easy WHOIS client for Node.js
async await nodejs promise whois whois-client
Last synced: 06 Dec 2024
https://github.com/martindzejky/promise-mock
Synchronous promise mock for tests
mock promise promise-mock sync synchronization
Last synced: 27 Oct 2024
https://github.com/judahsan/party-music-cast-controller
A collaborative music playing system.
authentication django-framework javascript promise reactjs
Last synced: 26 Dec 2024
https://github.com/izica/debounce-decorator-es6
Debounce decorator for es6+, with promise support
debounce debounce-es6 debounce-operator debounced debouncing decoration decorator decorator-transformation decorators es-6 javascript javascript-es6 promise promise-chain
Last synced: 26 Dec 2024
https://github.com/rgl/node-external-process-promises-example
example Node.js application starts an external process and parses its output to resolve two promises
child-process external-process javascript node promise promises typescript
Last synced: 13 Dec 2024
https://github.com/softwareventures/promise
Pure functional utilities for Promises
functional lambda promise typescript
Last synced: 12 Nov 2024
https://github.com/khachornchit/pluto-epoch
This is a legacy code. We need to review and processing in next step.
angularjs bootstrap css express html mean-stack mongodb nodejs promise
Last synced: 07 Jan 2025
https://github.com/raigorx/trigonometric-promise
Promises heavy duty example cos sin tan
async educational example promise trigonometry
Last synced: 30 Dec 2024
https://github.com/xiaody/redux-sane
A redux middleware that provides sane default behaviors for non-plain object actions.
generator promise redux-middleware thunk
Last synced: 16 Nov 2024
https://github.com/29kumait/out-of-sync
HYF - TASK
async async-await javascript promise promises
Last synced: 14 Nov 2024
https://github.com/colohr/fxy
A Node.js module for working with the file system.
filesystem fs javascript node-module nodejs path promise promises tree-structure
Last synced: 23 Nov 2024
https://github.com/volem/playingwithpromises
Related code for the blog post.
Last synced: 07 Jan 2025
https://github.com/trandung2k1/static_data
expressjs javascript nodejs promise static-data
Last synced: 29 Dec 2024
https://github.com/xpodev/winreg-promise
A promise-based wrapper around the winreg package
nodejs promise windows-registry winreg
Last synced: 06 Nov 2024
https://github.com/evgenyatlas/get-server-response-time
ecmascript javascript nodejs promise
Last synced: 24 Dec 2024
https://github.com/iainjreid/honest-workers
🕸 Promise based WebWorkers, for much multi-threaded goodness
Last synced: 28 Dec 2024
https://github.com/adrien-zinger/pytasks
Multithreading library in python, simple, with samples.
asynch-tasks observer observer-pattern promise python3 task-thread thread
Last synced: 15 Dec 2024
https://github.com/valda1/nodejs_examples
Few examples of Node.js module.exports object; require() function; Promise object; async - await functions.
async async-await javascript module-exports node node-js nodejs promise promises promises-async-await promises-in-javascript requirejs
Last synced: 29 Dec 2024
https://github.com/magicdawn/log-reject-error
Dead Simple unhandledRejection handler
loud-rejection promise reject unhandled-rejection
Last synced: 27 Oct 2024
https://github.com/patrixr/oath
A Promise implementation
experimental learning promise typescript
Last synced: 25 Dec 2024
https://github.com/afeiship/next-interceptor
Interceptor for next.
compose interceptor next pipe pipeline priority promise
Last synced: 14 Dec 2024
https://github.com/alpsmonaco/concurrency_js
a js file that implement concurrency async operation which could limit concurrency nums.
async async-javascript batch concurrency javascript promise thread-like
Last synced: 07 Nov 2024
https://github.com/kapouer/window-agent
Yet another browser agent, supports callback or promise, and parameters replacement
Last synced: 30 Dec 2024
https://github.com/afeiship/next-is-promise
Test whether an object looks like a promises-a+ promise.
Last synced: 14 Dec 2024
https://github.com/ori88c/zero-backpressure-weighted-promise-semaphore
A modern weighted promise semaphore for Node.js projects, ideal for managing workloads with varying processing requirements. It allows limiting the total weight of concurrently executing jobs, ensuring efficient resource utilization. Offering backpressure control for enhanced efficiency, utilizing a communicative API that signals availability.
async backpressure concurrency counting-semaphore deterministic-termination error-handling executor graceful-termination lock mutex nodejs promise promise-limit promise-semaphore rate-limiter scheduler semaphore typescript weight weighted-semaphore
Last synced: 21 Nov 2024
https://github.com/ori88c/zero-backpressure-fixed-window-promise-rate-limiter
A modern Promise rate-limiter for Node.js projects, implementing a fixed-window throttling policy. It restricts the number of tasks that can start execution within distinct, non-overlapping time windows. The API provides backpressure control by signaling availability, for enhanced efficiency.
deterministic-termination es2020 executor fixed-window graceful-shutdown javascript js nodejs promise promise-limit rate-limit rate-limiter rate-limiting scheduler throttle throttling time-window time-windows ts typescript
Last synced: 21 Nov 2024
https://github.com/anas599/leaderboard
Leaderboard website built with webpack. Players can view and submit scores, which are ranked and stored through an external API service. Data is preserved for accuracy.
async css html javascript promise webpack
Last synced: 15 Dec 2024
https://github.com/ekaterinagorbunova/nodejs-apps
Collection of small Node.js applications
async-await ejs-template-engine express-session file-handling promise
Last synced: 06 Jan 2025
https://github.com/alaeddinejebali/javascript-wait-for-set-of-asynchronous-callback-functions
Wait for set of asynchronous callback functions?
async asynchronous javascript promise wait
Last synced: 23 Nov 2024
https://github.com/sofyansetiawan/lecture-promise
Lecture notes for Javascript Promise
asynchronous javascript lecture-material lecture-notes promise promises
Last synced: 12 Nov 2024
https://github.com/yuhr/use-await-data
A React hook that executes an async task to populate the desired data.
async await hook hooks promise react react-hooks
Last synced: 30 Nov 2024
https://github.com/kengotoda/promisified-properties
Handle .properties file via promisified and typed API
Last synced: 22 Oct 2024
https://github.com/robtimus/completion-stage
A port of Java's CompletionStage using promises
completablefuture completionstage javascript promise promises typescript
Last synced: 17 Nov 2024
https://github.com/dimapaloskin/async-sleep
Sleep based on promise. Supports resolve and reject with defined response and error.
async-await async-sleep javascript promise sleep
Last synced: 29 Dec 2024
https://github.com/aldenvallestero/javascript-promise
Learn how to optimize time & space when performing huge business logic with JavaScript Promise.
Last synced: 07 Jan 2025
https://github.com/jill64/unfurl
💠 Concurrently wait for a Promise mapped to an object while preserving the type
Last synced: 10 Nov 2024
https://github.com/jill64/async-observer
🔭 Make Promise state observable as a string for svelte
oberservable promise svelte utility
Last synced: 10 Nov 2024
https://github.com/avimehenwal/ts-translate
promise based asynchronous translations
Last synced: 14 Nov 2024
https://github.com/bitbar/deferred-promise
Simple port of jQuery Deffered() based on native Promise
deferred deferred-promise javascript nodejs promise promises
Last synced: 13 Nov 2024
https://github.com/saidali-ibn-zafar/the-new-hard-parts-of-asynchronous-js
In this course, you will develop an intuitive understanding of the new features of JavaScript in ES6+: iterators, generators, promises, and async/await. You'll understand how promises are implemented under-the-hood to truly help fix the challenge of inversion of control in asynchronous code design. Plus, use iterators and generators ...
Last synced: 31 Dec 2024
https://github.com/saidali-ibn-zafar/asynchronous-javascript-basic-review
in this JavaScript tutorial series we'll dive into async js - from the very beginning. Rather than just start using fetch, async & await from the start, we'll take a closer look at async code & how it all works under the hood.
Last synced: 31 Dec 2024
https://github.com/idorobots/promise-based-lang
An exploration & benchmarking of weird programming language features. This time around - pure and transparent asynchrony.
benchmark concurrency language-design promise racket
Last synced: 20 Dec 2024
https://github.com/saber2pr/node
utils for nodejs
async filesystem nodejs promise server typescript
Last synced: 02 Jan 2025
https://github.com/irina-anat/goit-js-hw-09
Сolor switcher, countdown timer, a promise generator
Last synced: 07 Jan 2025
https://github.com/s-leroux/getpro
A very simple promise-based npm package to get http/https documents
asynchronous get http https node promise
Last synced: 25 Nov 2024
https://github.com/dodevops/yeoman-generator-typescript
A highly opinionated Yeoman generator for typescript modules
bluebird chai mocha promise typedoc typescript yeoman yeoman-generator
Last synced: 27 Sep 2024
https://github.com/apexcaptain/koconut
Provide interchainable array, set, map and etc supporting both normal and async callbacks as their action arguments.
array array-processing array-utils async async-await async-callback async-functions async-iteration async-methods await collection data-structures iteration-process javascript loops nodejs promise typescript typescript-library
Last synced: 19 Dec 2024
https://github.com/a-x-/thenlog
js promise .then() calls logger for node and browser
Last synced: 12 Nov 2024
https://github.com/robojones/x-time
setTimeout() with native promises
javascript nodejs promise settimeout timeout xtime
Last synced: 01 Dec 2024
https://github.com/mcculloh213/xmlhttprequestpromise
Promise-able XMLHttpRequest
javascript promise xmlhttprequest
Last synced: 17 Nov 2024
https://github.com/shinnn/fettuccine-class
A class to create a new fettuccine wrapper that defaults to the given options
class fetch http https javascript nodejs promise request
Last synced: 07 Dec 2024