async.wrapsync

Take a sync function and make it async, passing its return value to a callback.

Browse on unpkg