fluture-js/momi

Feature: Middleware.fromNodeComputation?

Beanow opened this issue · 1 comments

Being f => Middleware.lift(Future.node(f))
For cases such as https://github.com/Avaq/node-server-skeleton/blob/master/src/bootstrap/http.js#L40

Is that too sugary?

Avaq commented

I prefer to leave that up to users:

const middlewareFromNode = compose (Middleware.lift) (Future.node)