any-promise-es6
v0.1.1
Published
AnyPromise adapter for ES6
Downloads
5
Readme
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);
}