Skip to content

Commit

Permalink
doc: fix example code
Browse files Browse the repository at this point in the history
PR-URL: #657
Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com>
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
timarandras authored and Gabriel Schulhof committed Jan 30, 2020
1 parent 7ac6e21 commit 4d81618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/async_worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ The following code shows an example of how to create and use an `Napi::AsyncWork
// Include EchoWorker class
// ..

use namespace Napi;
using namespace Napi;

Value Echo(const CallbackInfo& info) {
// You need to validate the arguments here.
Expand Down

0 comments on commit 4d81618

Please sign in to comment.