Make synchronous function or generator to support callback api
github.com/tunnckocore/make-callback
tunnckocore/make-callback