Displaying 1 to 20 from 37 results




node-seq - Chainable asynchronous flow control for node

  •    Javascript

Seq is an asynchronous flow control library with a chainable interface for sequential and parallel actions. Even the error handling is chainable.Each action in the chain operates on a stack of values. There is also a variables hash for storing values by name.

node-promise-mysql

  •    Javascript

Promise-mysql is a wrapper for mysqljs/mysql that wraps function calls with Bluebird promises. Usually this would be done with Bluebird's .promisifyAll() method, but mysqljs/mysql's footprint is different to that of what Bluebird expects. At the minute only the standard connection (using .createConnection()) and the pool (using .createPool()) is supported. createPoolCluster is not implemented yet.


TaskChain - TaskChain Control Flow framework

  •    Java

TaskChain is a Java Control Flow framework designed for Game Developers. TaskChain helps facilitate running tasks on an application's "Main Thread", and parallel tasks off the main (async to main).

ambi - Execute a function ambidextrously (normalizes the differences between synchronous and asynchronous functions)

  •    Javascript

Execute a function ambidextrously (normalizes the differences between synchronous and asynchronous functions). Useful for treating synchronous functions as asynchronous functions (like supporting both synchronous and asynchronous event definitions automatically).Older environments may need Babel's Polyfill or something similar.

taskgroup - Group together synchronous and asynchronous tasks and execute them with support for concurrency, naming, and nesting

  •    Javascript

Group together synchronous and asynchronous tasks and execute them with support for concurrency, naming, and nesting.Older environments may need Babel's Polyfill or something similar.

run-async - Utility method to run function either synchronously or asynchronously using the common `this

  •    Javascript

Utility method to run a function either synchronously or asynchronously using a series of common patterns. This is useful for library author accepting sync or async functions as parameter. runAsync will always run them as an async method, and normalize the multiple signature.Here's a simple example print the function results and three options a user can provide a function.

waitress - Parallel async flow control.

  •    Javascript

Waitress returns a function, done, that will wait to be called count times before executing the cb passed into it. If done receives a second parameter, waitress will add that to an array, which will be the second parameter given to the callback, as long as it receives no errors.

ff - Concise, powerful asynchronous flow control library for JavaScript

  •    Javascript

ff simplifies the most common use cases for series, parallel, and promise utilities. In the browser, simply add a script tag pointing to lib/ff.js in your HTML page.

yaku - A lightweight promise library

  •    Javascript

Yaku is full compatible with ES6's native Promise, but much faster, and more error friendly. If you want to learn how Promise works, read the minimum implementation yaku.aplus. Without comments, it is only 80 lines of code (gzipped size is 0.5KB). It only implements the constructor and then. Yaku passed all the tests of promises-aplus-tests, promises-es6-tests, and even the core-js tests.

autoflow - autoflow (formerly react) is a javascript module to make it easier to work with asynchronous code, by reducing boilerplate code and improving error and exception handling while allowing variable and task dependencies when defining flow

  •    Javascript

autoflow (formerly named react) is a javascript module to make it easier to work with asynchronous code, by reducing boilerplate code and improving error and exception handling while allowing variable and task dependencies when defining flow. This project is applying the concepts of Reactive programming or Dataflow to controlling application flow. This async flow control module is initially designed to work with Node.js but is planned to be extended to browser and other environments.

underscore.deferred - jQuery style Deferreds for Underscore

  •    Javascript

This is a port of jQuery.Deferred as an Underscore mixin, but it can be used without any depencencies. It currently matches the Deferred specifications and implementation from jQuery 1.8.0, with all the associated helpers. jQuery offers a robust, consistent and well documented API; this project aims to make it portable. jQuery added a handful of helper methods to their implementation of the Common.js Promises/A Spec and they're faithfully reproduced without any dependencies.

l8 - Task manager for javascript with promises, dataflows and actors

  •    Javascript

l8 is an *experimental* pthread/erlang inspired task manager for javascript. Simple tasks becomes 'paroles', complex tasks become functions broken in 'steps'. l8 comes with synchronisation and distribution tools including semaphores, mutexes, message queues, generators, actors and socket.io proxied actors, among others.

parley - Flow control harness for implementors

  •    Javascript

Practical, lightweight flow control for Node.js, with support for await, deferred execution, traditional Node callbacks, and promise chaining. These days, there are several different common ways that developers call functions in Node.js and JavaScript. Parley helps your code support all three of the mainstream flow control paradigms.

node.flow - A deadly simple flow control package for node.js

  •    Javascript

The asynchronous nature of javascript is what makes it so powerful. However sometimes you just need to do stuffs synchronously without blocking the event loop. Stuffs like query database in a loop with ids to assemble a hash, compressing a bunch of files in groups and compare with the old ones. You could easily end up with nested callbacks without using a flow control package. With node.flow you can set a work flow doing things one by one or in parallel, wait for all things are done in the parallel tasks to do the next task. You can set some default arguments for all tasks, giving each task its own arguments or pass task results to the next task as its arguments. The following code shows some base usage and the syntax of this package.