Node To Prescription
This is a convenience wrapper libary to make converting asynchronous node.js
callback style functions to FRP Prescription functions that return
Observable
's mostly one liners.
Example
var Observable = Observable;var nodeToPrescription = ; // A typical node.js callback driven asynchronous functionvar { process;}; // Here we wrap the node.js async function to return an Observablevar observableAsync = ; // Here we issue an async call, get an Observable back, map over the results// and finally print the result to the console.; ;