Closed BobbyBabes closed 5 years ago
Hey sorry, I saw this over the weekend but forgot to reply to it! 🙈
Taskr runs on generators only. We have a @taakr/esnext
package that rewrites the taskfile (only) from async
to function*
.
It looks like you're trying to rely on native async functions without the utility. In this current version of Taskr, that's not possible. Yet!
No problem. So Taskr becomes something to watch.
I only just discovered Taskr, and I'm running into this issue.
This API example snippet dies in function
tryCatcher
of Bluebird'sutil.js
. When halted with a breakpoint on line 35 in the VS Code debugger, hitting F10 prints "first: 10" to the log and then transfers control to line 18 in functiontryCatcher
of Bluebird'sutil.js
:errorObj.e = e;
. And then program execution is halted. See screenshot for the detailed error message.The exact same code is here in this Runkit Notebook : https://runkit.com/bobbybabes/taskr-bluebird-error If you run it, you can see that only "first: 10" is printed to the log (on the second page).