declarative-promise

Behaves kinda like the es6 Promise api, but it doesn't actually *do* anything. It just produces a description of what is to be done, by someone else. At the moment, it's designed to work with the [redux-fetch](https://github.com/ashaffer/redux-fetch) mi


Keywords
declarative, promise, redux, fetch
License
MIT
Install
npm install declarative-promise@0.2.1

Documentation

declarative-promise

Produce declarative specifications of your promise chains. Right now this implementation is incredibly trivial. It doesn't support chaining in any meaningful way, and it only supports the then method. It's just the bare minimum I need to create a proof-of-concept for redux-fetch. Over time, if the concept works out, i'll flesh this out.