frp-promise
will convert a Promise to a frp event. If the promise reject's a Javascript Error
will be returned with the rejecting message.
Usage
Example:
var promise = ;var frpPromise = ; var resolving = promise;var rejecting = promise; ; ; { if value instanceof Error throw value; // will throw an Error with the message value of 'I am bad' else console; // will console.log 'I am good' }
License
MIT, see LICENSE.md for details.