mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
PR-URL: https://github.com/nodejs/node/pull/46881 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me>
14 lines
363 B
JavaScript
14 lines
363 B
JavaScript
'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.
|
|
|
|
const {
|
|
prepareMainThreadExecution,
|
|
markBootstrapComplete,
|
|
} = require('internal/process/pre_execution');
|
|
|
|
prepareMainThreadExecution();
|
|
markBootstrapComplete();
|