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....submit
out of nowhere and with no explanation as to what its doing and why.
Maybe worth adding some explanation?Call .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.
Andrew 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