Having just released the new API for task(this, async () => {}), it dawned on me that with a bit more babel transform magic, we can support an even simpler task API of just:
myTask = task(async () => {
// ...
})
rather than having to pass in this as the first arg. This seems like an obvious additional win.
Having just released the new API for
task(this, async () => {})
, it dawned on me that with a bit more babel transform magic, we can support an even simpler task API of just:rather than having to pass in
this
as the first arg. This seems like an obvious additional win.