Open
Description
At present the current impl of for
within async {
expressions raises two concerns for me:
AwaitTaskCorrect
semantics would be preferable to promulgating usage ofAsync.AwaitTask
in a place that most people will not necessarily even infer that it's in play.- AIUI
Async.StartAsTask
includes an unnecessary transition to the Thread Pool (with a potential context switch?) which could instead safely be replaced withAsync.StartImmediateAsTask
in this context. EDIT: moved to separate thread #135 - the starting of the child Async does not propagate the continuation token (not sure whether fixing that is possible/required) EDIT: separate issue, see #133