module folktale/concurrency

Provides tools for managing asynchronous concurrent operations in JavaScript. Task models asynchronous operations with automatic resource management, whereas Future is a simpler alternative to Promise.

This feature is experimental!

This API is still experimental, so it may change or be removed in future versions. You should not rely on it for production applications.

Documentation

Provides tools for managing asynchronous concurrent operations in JavaScript. Task models asynchronous operations with automatic resource management, whereas Future is a simpler alternative to Promise.

Properties

Concurrency

future

A data structure to represent the result of an asynchronous computation.

Experimental
task

A data structure that models asynchronous actions, supporting safe cancellation and automatic resource handling.

Experimental

Source Code

Defined in source/concurrency/index.js at line 15, column 0
{
  future: require('./future'),
  task: require('./task')
}
Stability
experimental
Licence
MIT
Module
folktale/concurrency
On This Page
Authors
Copyright
(c) 2013-2017 Quildreen Motta, and CONTRIBUTORS
Authors
  • Quildreen Motta
Maintainers
  • Quildreen Motta <queen@robotlolita.me> (http://robotlolita.me/)