Skip to content

Commit

Permalink
doc: complete code curly braces in async_worker.md (#1317)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaowanlu committed May 16, 2023
1 parent 858942c commit 358b2d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/async_worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ Value Echo(const CallbackInfo& info) {
EchoWorker* wk = new EchoWorker(cb, in);
wk->Queue();
return info.Env().Undefined();
}
```
Using the implementation of a `Napi::AsyncWorker` is straight forward. You only
Expand Down

0 comments on commit 358b2d3

Please sign in to comment.