Displaying 1 to 13 from 13 results

promise-fun - Promise packages, patterns, chat, and tutorials

  •    

I intend to use this space to document my promise modules, useful promise patterns, and how to solve common problems. For now though, you can see all my promise modules below.Star this repo to show your interest, so I can know whether to prioritize this work.

evpp - A modern C++ network library for developing high performance network services in TCP/UDP/HTTP protocols

  •    C++

evpp is a modern C++ network library for developing high performance network services in TCP/UDP/HTTP protocols. evpp provides a TCP Server to support multi-threaded nonblocking event-drive server and also a HTTP, UDP Server to support http and udp prococol.NOTE: master is our development branch and may not be stable at all times.

redux-promise-middleware - Enables simple, yet robust handling of async action creators in Redux

  •    Javascript

Redux Promise Middleware enables simple, yet robust handling of async action creators in Redux. Given a single action with an async payload, the middleware transforms the action to a separate a pending action and a separate fulfilled/rejected action, representing the states of the async action.




mobx-task - Makes async function state management in MobX fun.

  •    Javascript

Takes the suck out of managing state for async functions in MobX.mobx-task removes the boilerplate of maintaining loading and error state of async functions in MobX.

ava-ts - 🚀 Fork of the AVA test runner with native typescript support

  •    Javascript

Native TypeScript support for sindresorhus' awesome AVA test runner out of the box, without a prior build step.This is a fork of the official AVA repository with a couple of minimally invasive changes. Uses ts-node/register instead of Babel. Not the cleanest solution, but it works well.

p-map - Map over promises concurrently

  •    Javascript

Useful when you need to run promise-returning & async functions multiple times with different inputs concurrently.Returns a Promise that is fulfilled when all promises in input and ones returned from mapper are fulfilled, or rejects if any of the promises reject. The fulfilled value is an Array of the fulfilled values returned from mapper in input order.


p-one - Test whether some promise passes a testing function

  •    Javascript

Like Array.some for promises. Returns a Promise that is fulfilled when any promise in input and ones returned from testFn are fulfilled, or rejects if any of the promises reject. The fulfilled value is a boolean that is true if any promise passed the test and false otherwise.

powerglove - Compositional helpers for winning at control flow in ES2015+

  •    Javascript

Passes a value through an array of functions sequentially; Returns value fulfilled from final function in the array. Executes an array of functions concurrently; returns an array of fulfilled values.