We already have Workflow.WhenAnyAsync because a certain standard library overload was unsafe, same for Workflow.DelayAsync. We might as well add Workflow.WhenAllAsync, Workflow.StartNewTask, and any other common/popular standard library task functions, even though they are safe and will just be one-liners to the underlying implementations. This lets users have confidence in calls on the Workflow class.
Describe the solution you'd like
We already have
Workflow.WhenAnyAsync
because a certain standard library overload was unsafe, same forWorkflow.DelayAsync
. We might as well addWorkflow.WhenAllAsync
,Workflow.StartNewTask
, and any other common/popular standard library task functions, even though they are safe and will just be one-liners to the underlying implementations. This lets users have confidence in calls on theWorkflow
class.