| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6fa142d commit 08bf015
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 | |
|---|---|---|---|
@@ -70,7 +70,6 @@ const { | |||
| 70 | 70 | defineOperation, | |
| 71 | 71 | deprecate, | |
| 72 | 72 | defineLazyProperties, | |
| 73 | - exposeLazyInterfaces, | ||
| 74 | 73 | } = require('internal/util'); | |
| 75 | 74 | const { | |
| 76 | 75 | privateSymbols: { | |
@@ -214,11 +213,6 @@ defineLazyProperties( | |||
| 214 | 213 | ['structuredClone'], | |
| 215 | 214 | ); | |
| 216 | 215 | ||
| 217 | - exposeLazyInterfaces( | ||
| 218 | - globalThis, | ||
| 219 | - 'internal/worker/io', | ||
| 220 | - ['BroadcastChannel'], | ||
| 221 | - ); | ||
| 222 | 216 | // Set the per-Environment callback that will be called | |
| 223 | 217 | // when the TrackingTraceStateObserver updates trace state. | |
| 224 | 218 | // Note that when NODE_USE_V8_PLATFORM is true, the observer is | |
| Back | FazBrowse Home | New Git URL |
0 commit comments