While tasks and futures have the same interface as native promises, there are
occasionally reasons to just use one directly. (For example, Uneventful
actually uses this function to implement futures' promise methods!)
A native Promise that resolves or rejects according to
whether the future fulfills or rejects. If the future is canceled, the
promise is rejected with a CancelError.
Obtain a native promise for a Future or Task
While tasks and futures have the same interface as native promises, there are occasionally reasons to just use one directly. (For example, Uneventful actually uses this function to implement futures' promise methods!)