(type, init)
| 96 | // passed are known to be valid. |
| 97 | let fastCreateMessageEvent; |
| 98 | function lazyMessageEvent(type, init) { |
| 99 | fastCreateMessageEvent ??= require('internal/deps/undici/undici').createFastMessageEvent; |
| 100 | return fastCreateMessageEvent(type, init); |
| 101 | } |
| 102 | |
| 103 | // We have to mess with the MessagePort prototype a bit, so that a) we can make |
| 104 | // it inherit from NodeEventTarget, even though it is a C++ class, and b) we do |
no test coverage detected
searching dependent graphs…