segmentio / ware

Easily create your own middleware layer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support promises

dominicbarnes opened this issue · comments

I'd like to use this in a project that is using promises internally, it would be great if sync functions that return a Promise (or any then-able) could be treated as async.

Hi, ware does this already. Have a look at the tests.

Note added in 132e961