From a99b88c448f920d78da1251a8fd789168fda9795 Mon Sep 17 00:00:00 2001 From: jiaweian1001 <111408281+jiaweian1001@users.noreply.github.com> Date: Wed, 11 Sep 2024 09:41:06 +0800 Subject: [PATCH] fix typo --- _posts/2017-11-17-understanding-operator-co-await.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2017-11-17-understanding-operator-co-await.md b/_posts/2017-11-17-understanding-operator-co-await.md index adbdef2..07f49df 100644 --- a/_posts/2017-11-17-understanding-operator-co-await.md +++ b/_posts/2017-11-17-understanding-operator-co-await.md @@ -297,7 +297,7 @@ namespace std::experimental } ``` -When implementing **Awaitable** types, they key method you'll be using on `coroutine_handle` +When implementing **Awaitable** types, the key method you'll be using on `coroutine_handle` will be `.resume()`, which should be called when the operation has completed and you want to resume execution of the awaiting coroutine. Calling `.resume()` on a `coroutine_handle` reactivates a suspended coroutine at the ``. The call to `.resume()` will