npm

Check out our latest tech talk, "JavaScript Supply Chain Security" presented by VP of Security, Adam Baldwin.Watch it here »

meteor-promise

0.8.7 • Public • Published

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.

install

npm i meteor-promise

Downloadsweekly downloads

32,266

version

0.8.7

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability