From 060831e1baca3ade66e970baa73e57f3bd3a2f36 Mon Sep 17 00:00:00 2001 From: Kent Boogaart Date: Fri, 17 Apr 2020 13:59:03 +1000 Subject: [PATCH] More simple fixes to tuple signatures --- .../asynchronous-and-concurrent-programming/async.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/fsharp/tutorials/asynchronous-and-concurrent-programming/async.md b/docs/fsharp/tutorials/asynchronous-and-concurrent-programming/async.md index 5d22c2b7ddb07..d9e054c61755f 100644 --- a/docs/fsharp/tutorials/asynchronous-and-concurrent-programming/async.md +++ b/docs/fsharp/tutorials/asynchronous-and-concurrent-programming/async.md @@ -161,7 +161,7 @@ Runs an asynchronous computation, starting immediately on the current operating Signature: ```fsharp -computation: Async - cancellationToken: ?CancellationToken -> unit +computation: Async * cancellationToken: ?CancellationToken -> unit ``` When to use: @@ -179,7 +179,7 @@ Executes a computation in the thread pool. Returns a - taskCreationOptions: ?TaskCreationOptions - cancellationToken: ?CancellationToken -> Task<'T> +computation: Async<'T> * taskCreationOptions: ?TaskCreationOptions * cancellationToken: ?CancellationToken -> Task<'T> ``` When to use: @@ -197,7 +197,7 @@ Schedules a sequence of asynchronous computations to be executed in parallel. Th Signature: ```fsharp -computations: seq> - ?maxDegreesOfParallelism: int -> Async<'T[]> +computations: seq> * ?maxDegreesOfParallelism: int -> Async<'T[]> ``` When to use it: @@ -236,7 +236,7 @@ Returns an asynchronous computation that waits for the given -> Async<'T> +task: Task<'T> -> Async<'T> ``` When to use: @@ -290,7 +290,7 @@ Runs an asynchronous computation and awaits its result on the calling thread. Th Signature: ```fsharp -computation: Async<'T> - timeout: ?int - cancellationToken: ?CancellationToken -> 'T +computation: Async<'T> * timeout: ?int * cancellationToken: ?CancellationToken -> 'T ``` When to use it: @@ -309,7 +309,7 @@ Starts an asynchronous computation in the thread pool that returns `unit`. Doesn Signature: ```fsharp -computation: Async - cancellationToken: ?CancellationToken -> unit +computation: Async * cancellationToken: ?CancellationToken -> unit ``` Use only when: