# Pastebin OCcePDjO const onFulfill = (val) => { this.next(['fulfill', val]); }; const onReject = (val) => { this.next(['reject', val]); }; promise.then(onFulfill, onReject); const [status, val] = yield;