metarhia / metasync

Asynchronous Programming Library for JavaScript & Node.js
https://metarhia.com
MIT License
206 stars 35 forks source link

Implement metasync.promisifySync #234

Closed tshemsedinov closed 6 years ago

tshemsedinov commented 6 years ago

Now metasync.promisify(fn) supports contract callback-last but we need converter of synchronous (regular) functions to Promise metasync.promisifySync(fn: function): Promise.