deasync-promise
Transforms async functions into sync with promise API
Usage
;let promiseWhichWillBeResolved = ;let syncResult = let promiseWhichWillBeRejected = ;try let syncResult = catch err
Transforms async functions into sync with promise API
;let promiseWhichWillBeResolved = ;let syncResult = let promiseWhichWillBeRejected = ;try let syncResult = catch err
npm i deasync-promise
18,266
1.0.1
ISC