From 73722313aad7148a8cea0acdfec3d56f1501f308 Mon Sep 17 00:00:00 2001 From: wanlu <2209120827@qq.com> Date: Tue, 9 May 2023 05:50:14 +0800 Subject: [PATCH] doc: complete code curly braces in async_worker.md --- doc/async_worker.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/async_worker.md b/doc/async_worker.md index 5d495a97c..2250d541d 100644 --- a/doc/async_worker.md +++ b/doc/async_worker.md @@ -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