0.1.1 • Published 9 years ago

any-promise-es6 v0.1.1

Weekly downloads
2
License
Apache-2
Repository
github
Last release
9 years ago

AnyPromise adapter for ES6

AnyPromise adapter for ES6.

It is a somewhat tautological implementation that just exposes ES6 Promises as-is.

Usage

This adapter is implemented as an ES6 module which can be installed with jspm and loaded via SystemJS as follows:

import {Promise} from 'any-promise-es6';

function answer() {
    return Promise.resolve(42);
}