Skip to content

Commit

Permalink
fixup! fixup! doc: add basic embedding example documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Mar 16, 2020
1 parent 3ce279a commit f46c44c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/embedding.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ int RunNodeInstance(MultiIsolatePlatform* platform,
more = uv_loop_alive(&loop);
if (more) continue;
// node::EmitBeforeExit() is used to emit the 'beforeExit' event.
// node::EmitBeforeExit() is used to emit the 'beforeExit' event on
// the `process` object.
node::EmitBeforeExit(env.get());
// 'beforeExit' can also schedule new work that keeps the event loop
Expand Down

0 comments on commit f46c44c

Please sign in to comment.