Ben Muller
07/29/2022, 8:13 PMAll tasks must be called from within a flow. Tasks may not call other tasks directly.
Does this mean we can't call task.run() like in 1.0?
That was quite useful...Ben Muller
07/29/2022, 8:24 PM.submit
out of nowhere and with no explanation as to what its doing and why.
Maybe worth adding some explanation?Ben Muller
07/29/2022, 8:26 PMCall .submit on the task instead of calling the task directly. This submits the task to the task runner rather than running the task in-process.
Ben Muller
07/29/2022, 8:26 PMAndrew Huang
07/29/2022, 8:40 PMtask.fn()
which calls the underlying function (which I think is equivalent to task.run() if I’m not mistaken)Khuyen Tran
07/29/2022, 9:49 PM.submit