Function makePromise

Source
makePromise<T>(): PromiseHandle<T>

Make a PromiseHandle with the promise object separate from its resolve and reject methods