Skip to content

Commit

Permalink
doc: fix name of the flag in initialize() docs
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#49158
Backport-PR-URL: nodejs/node#50669
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
sercher committed Apr 24, 2024
1 parent 8f2d402 commit 43d7e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graal-nodejs/doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ added: REPLACEME
The `initialize` hook provides a way to define a custom function that runs
in the loader's thread when the loader is initialized. Initialization happens
when the loader is registered via [`register`][] or registered via the
`--loader` command line option.
`--experimental-loader` command line option.
This hook can send and receive data from a [`register`][] invocation, including
ports and other transferrable objects. The return value of `initialize` must be
Expand Down

0 comments on commit 43d7e16

Please sign in to comment.