meteor/promise

Name: promise

Owner: Meteor

Description: ES6 Promise polyfill with Fiber support

Created: 2015-05-06 18:15:38.0

Updated: 2017-11-30 07:39:33.0

Pushed: 2017-07-23 00:40:05.0

Homepage: null

Size: 107

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

promise Build Status

ECMAScript 2015 Promise polyfill with Fiber support

The static methods Promise.async and Promise.await implement the relaxed async and await functions proposed in this talk: Why Fibers Make Sense For Meteor.

Note: as of v0.4.0, this library no longer depends directly on the fibers package. If you want to use this library in a codebase that uses Fibers, make sure to set Promise.Fiber to the Fiber constructor that you use elsewhere. For example, here is how it's done in the test code for this repository.

If you'd like to use this package in a Meteor project, a much simpler approach is simply to run meteor add promise.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.