wrapper for async node functions to Prescription FRP