Obtain a native promise for a job
While jobs have the same interface as native promises, there are occasionally reasons to just use one directly. (Like when Uneventful uses this function to implement jobs' promise methods!)
The job to get a native promise for.
A Promise that resolves or rejects according to whether the job returns or throws. If the job is canceled, the promise is rejected with a CancelError.
Obtain a native promise for a job
While jobs have the same interface as native promises, there are occasionally reasons to just use one directly. (Like when Uneventful uses this function to implement jobs' promise methods!)