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: #49158
Backport-PR-URL: #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
aduh95 authored and targos committed Nov 23, 2023
1 parent 01ca6d2 commit 2fef28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 2fef28b

Please sign in to comment.