From b25badfffc65d182a4aa1c75fdd42f317b3a534a Mon Sep 17 00:00:00 2001 From: Kenvin Davies Date: Sat, 11 Apr 2020 16:57:10 +0800 Subject: [PATCH] doc: fix semicolon missing in async_worker.md PR-URL: https://github.com/nodejs/node-addon-api/pull/701 Reviewed-By: Nicola Del Gobbo Reviewed-By: Gabriel Schulhof Reviewed-By: Chengzhong Wu Reviewed-By: Michael Dawson --- doc/async_worker_variants.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/async_worker_variants.md b/doc/async_worker_variants.md index a1fb678..8b892ea 100644 --- a/doc/async_worker_variants.md +++ b/doc/async_worker_variants.md @@ -399,7 +399,7 @@ class EchoWorker : public AsyncProgressQueueWorker { void Execute(const ExecutionProgress& progress) { // Need to simulate cpu heavy task for (uint32_t i = 0; i < 100; ++i) { - progress.Send(&i, 1) + progress.Send(&i, 1); std::this_thread::sleep_for(std::chrono::seconds(1)); } }