| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 15280fb commit 04dad9c
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -43,6 +43,7 @@ defineOperation(globalThis, 'setInterval', timers.setInterval); | |||
| 43 | 43 | defineOperation(globalThis, 'setTimeout', timers.setTimeout); | |
| 44 | 44 | ||
| 45 | 45 | // Lazy ones. | |
| 46 | + exposeLazyInterfaces(globalThis, 'internal/worker/io', ['BroadcastChannel']); | ||
| 46 | 47 | exposeLazyInterfaces(globalThis, 'internal/abort_controller', [ | |
| 47 | 48 | 'AbortController', 'AbortSignal', | |
| 48 | 49 | ]); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -71,7 +71,6 @@ const { | |||
| 71 | 71 | defineOperation, | |
| 72 | 72 | deprecate, | |
| 73 | 73 | defineLazyProperties, | |
| 74 | - exposeLazyInterfaces, | ||
| 75 | 74 | } = require('internal/util'); | |
| 76 | 75 | const { | |
| 77 | 76 | privateSymbols: { | |
@@ -247,11 +246,6 @@ defineLazyProperties( | |||
| 247 | 246 | ['structuredClone'], | |
| 248 | 247 | ); | |
| 249 | 248 | ||
| 250 | - exposeLazyInterfaces( | ||
| 251 | - globalThis, | ||
| 252 | - 'internal/worker/io', | ||
| 253 | - ['BroadcastChannel'], | ||
| 254 | - ); | ||
| 255 | 249 | // Set the per-Environment callback that will be called | |
| 256 | 250 | // when the TrackingTraceStateObserver updates trace state. | |
| 257 | 251 | // Note that when NODE_USE_V8_PLATFORM is true, the observer is | |
| Back | FazBrowse Home | New Git URL |
0 commit comments