Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: process.moduleLoadList not documented #41233

Open
1 task done
BourgoisMickael opened this issue Dec 18, 2021 · 2 comments
Open
1 task done

doc: process.moduleLoadList not documented #41233

BourgoisMickael opened this issue Dec 18, 2021 · 2 comments
Labels
doc Issues and PRs related to the documentations. process Issues and PRs related to the process subsystem.

Comments

@BourgoisMickael
Copy link

📗 API Reference Docs Problem

  • Version: v0 - latest (v17)

  • Platform: irrelevant

  • Subsystem: process

Location

Section of the site where the content exists

Affected URL(s):

Description

Concise explanation of the problem

From lib/internal/bootstrap/loaders.js

// - process.moduleLoadList: an array recording the bindings and the modules
// loaded in the process and the order in which they are loaded.

I want to use this to know if a NativeModule was loaded but can't find any reference in documentation.

Is it an oversight or because it's an internal and should not be used by end user ?


  • I would like to work on this issue and
    submit a pull request.
@BourgoisMickael BourgoisMickael added the doc Issues and PRs related to the documentations. label Dec 18, 2021
@BourgoisMickael BourgoisMickael changed the title doc: process.moduleLoadList missing not documented doc: process.moduleLoadList not documented Dec 18, 2021
@Mesteery Mesteery added the process Issues and PRs related to the process subsystem. label Dec 18, 2021
@Trott
Copy link
Member

Trott commented Dec 19, 2021

@nodejs/documentation @nodejs/process @nodejs/modules

@aduh95
Copy link
Contributor

aduh95 commented Dec 19, 2021

It was added in #24775. It looks like it was made public on purpose, so it would make sense to document it. However, I find it weird to expose it as a mutable array, wouldn't it be more useful as a getter that returns a copy of the internal array?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. process Issues and PRs related to the process subsystem.
Projects
None yet
Development

No branches or pull requests

4 participants