From 977170018eeb47d6d8cf147ad6c523fca00d5e4c Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 14 Aug 2023 07:48:05 +0200 Subject: [PATCH] doc: fix name of the flag in `initialize()` docs --- doc/api/esm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index aa444cc9480e6d..34791f89e0c845 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -766,7 +766,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