Skip to content

Commit 21a411c

Browse files
CopilotBillWagner
andauthored
Add task expressions definition and link in F# 6 What's New (#49032)
* Initial plan * Add task expressions definition and link to documentation Co-authored-by: BillWagner <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: BillWagner <[email protected]>
1 parent 1b81aef commit 21a411c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/fsharp/whats-new/fsharp-6.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ F# 6 is available in all .NET Core distributions and Visual Studio tooling. For
1616

1717
## task {…}
1818

19-
F# 6 includes native support for authoring .NET tasks in F# code. For example, consider the following F# code to create a .NET-compatible task:
19+
F# 6 includes native support for authoring .NET tasks in F# code using [task expressions](../language-reference/task-expressions.md). Task expressions are similar to async expressions but allow you to author .NET tasks directly.
20+
21+
For example, consider the following F# code to create a .NET-compatible task:
2022

2123
```fsharp
2224
let readFilesTask (path1, path2) =

0 commit comments

Comments
 (0)