Skip to content

Commit

Permalink
doc: fix semicolon missing in async_worker.md
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node-addon-api#701
Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com>
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information
wroy7860 committed Apr 14, 2020
1 parent 1ce6760 commit 33a6354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/async_worker_variants.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ class EchoWorker : public AsyncProgressQueueWorker<uint32_t> {
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));
}
}
Expand Down

0 comments on commit 33a6354

Please sign in to comment.