summaryrefslogtreecommitdiff
path: root/lib/internal/bootstrap/environment.js
blob: 79a67dae378202ee377f2f138560b74f673af6e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';

// This runs necessary preparations to prepare a complete Node.js context
// that depends on run time states.
// It is currently only intended for preparing contexts for embedders.

/* global markBootstrapComplete */
const {
  prepareMainThreadExecution
} = require('internal/bootstrap/pre_execution');

prepareMainThreadExecution();
markBootstrapComplete();