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 <[email protected]>
Reviewed-By: Gabriel Schulhof <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
kevindavies8 committed Apr 14, 2020
1 parent e7cbedf commit b25badf
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 b25badf

Please sign in to comment.