promise-gate (npm): wrap a function in a 'gate' function that must run first
Keywords: promise|gate|wrap