File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -114,13 +114,13 @@ resolution and loading behavior. See [Customization hooks][].
114114> **Warning** When setting up a ` MessageChannel` to communicate with hooks,
115115> beware that this can lead to a deadlock. For example, you have 2 modules,
116116> A and B. "A" is registered first and sets up a message channel, which it uses
117- > in its ` resolve` hook. "B" uses ` register ` to register its hooks . Resolving
118- > "B"'s own specifier will go through "A"'s ` resolve` hook, which will try to
117+ > in its ` resolve` hook. After "A" is registered, "B" is registered . Resolving
118+ > "B"'s specifier will go through "A"'s ` resolve` hook, which will try to
119119> communicate with a locked thread that is busy trying to register "B"'s hooks.
120- > Since registering B depends on resolving B 's specifier, and resolving B's
121- > specifier is blocked by A 's communication request, and that is itself blocked
122- > by the pending registration that started the chain, the application becomes
123- > deadlocked.
120+ > Since registering "B" depends on resolving "B" 's specifier, and resolving
121+ > "B"'s specifier is blocked by "A" 's communication request that is itself
122+ > blocked by the pending registration that started the chain, the application
123+ > becomes deadlocked.
124124
125125### ` module.syncBuiltinESMExports()`
126126
You can’t perform that action at this time.
0 commit comments