blob: f651728dc78f359d52009d79b5b453f616e76939 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
'use strict';
const list = require('internal/bootstrap/cache');
const {
isMainThread
} = require('worker_threads');
for (const key of list.cachableBuiltins) {
if (!isMainThread && key === 'trace_events') {
continue;
}
require(key);
}
|