Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Home

axkibe edited this page · 17 revisions
Clone this wiki locally

Projects using node-fibers

As mentioned in the primary documentation, using the Fiber class directly is generally not recommended. Instead it's recommended that you use some kind of abstraction which uses Fiber internally to create a more flexible or safe interface for your project. Included with node-fibers is the Future class (documented @ node-fibers), however by no means should Future be considered the only option. Listed below are known projects which use node-fibers:

0ctave/node-sync node-sync is a simple library that allows you to call any asynchronous function in synchronous way. The main benefit is that it uses javascript-native design - Function.prototype.sync function, instead of heavy APIs which you'll need to learn. Also, asynchronous function which was called synchronously through node-sync doesn't blocks the whole process - it blocks only current thread!

olegp/common-node implements a number of CommonJS proposals on top of Node.js using node-fibers. Fibers are used to emulate multi-threading within a single process, allowing one to use a synchronous programming style.

lm1/node-fibers-promise fibers-promise is a small yet powerful library based on fibers. A promise is just a value container with build-in synchronisation mechanism. Promises allow you to get rid of callbacks clutter.

chriso/synchronous see this blog post for more information.

axkibe/node-green-light a simple stop and go interface to fibers.

Something went wrong with that request. Please try again.