TaskEx: ignore #140
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 #128. TaskEx top level issue: #139
Async.Ignore
has always been ugly and undiscoverable. While I tend to make ignoring explicit by usinglet! _ = <async stuff I want to ignore result of>
, it's commonly the last expression in a function, and having to dolet! _ = <thing I'm wrapping> in ()
is too much.It is proposed that the
module
associated with any given builder should by convention have anignore
function that correctly observes completion of the work, dropping the result, but propagating exceptions, if anyCurrent proposed APIs that are not currently in
FSharp.Core
(will be updated inline based on discussion below):NOTES:
TaskSeq
(and other libs such as IcedTasks contain various bespoke implementationsFSharp.Core
is the obvious home for them. (However that would raise the issue of whether they need to go into the 6.x release line in order to align with minimal dependencies for various common libraries)The text was updated successfully, but these errors were encountered: