Wrap a function to use yield-like (ES6 generator) instance and make a function to return a promise using node-fiber.