TaskEx: Async.startImmediateAsTask #142
Labels
feature request
New feature or enhancement request
topic: task-ex
Related to the proposed new TaskEx library, which should get its own oss haven
Milestone
Replaces #129. TaskShims top level issue: #139
In contrast to its sibling,
Async.StartAsTask
(because it is not starting a thread),Async.StartImmediateAsTask
does not have ataskCreationOptions
optional parameter, so people often use it pipeline expressions.However, that makes it easy to gloss over the fact that the computation will then not have an ambient cancellation token.
In order to resolve those forces (wanting to be able to execute an
async
via piping, without the risk of omitting to consider cancelation), it is proposed to have a common helperfun
ction (with a lower case name) thatAsync.StartImmediateAsTask
Current proposed APIs (will be updated inline based on any discussion below):
NOTES:
The text was updated successfully, but these errors were encountered: