Skip to content

Commit 474db2e

Browse files
Merge pull request MicrosoftDocs#5415 from changeworld/patch-1
Fix typo: lamba -> lambda
2 parents 3978b57 + 7144003 commit 474db2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/parallel/concrt/reference/concurrency-namespace-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ The lambda may take either zero, one or two arguments. The valid arguments are `
174174
175175
If the body of the lambda or function object returns a result (and not a task\<TResult>), the lamdba will be executed asynchronously within the process MTA in the context of a task the Runtime implicitly creates for it. The `IAsyncInfo::Cancel` method will cause cancellation of the implicit task.
176176
177-
If the body of the lambda returns a task, the lamba executes inline, and by declaring the lambda to take an argument of type `cancellation_token` you can trigger cancellation of any tasks you create within the lambda by passing that token in when you create them. You may also use the `register_callback` method on the token to cause the Runtime to invoke a callback when you call `IAsyncInfo::Cancel` on the async operation or action produced.
177+
If the body of the lambda returns a task, the lambda executes inline, and by declaring the lambda to take an argument of type `cancellation_token` you can trigger cancellation of any tasks you create within the lambda by passing that token in when you create them. You may also use the `register_callback` method on the token to cause the Runtime to invoke a callback when you call `IAsyncInfo::Cancel` on the async operation or action produced.
178178
179179
This function is only available to Windows Runtime apps.
180180

0 commit comments

Comments
 (0)