FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

src: add embedding helpers to reduce boilerplate code by addaleax · Pull Request #35597 · nodejs/node · GitHub

/ node Public

src: add embedding helpers to reduce boilerplate code - #35597

Closed
addaleax wants to merge 2 commits into
nodejs:masterfrom
addaleax:embed-boilerplate
Closed

src: add embedding helpers to reduce boilerplate code#35597
addaleax wants to merge 2 commits into
nodejs:masterfrom
addaleax:embed-boilerplate

Conversation

Copy link
Copy Markdown
Member

Provide helpers for a) spinning the event loop and
b) setting up and tearing down the objects involved in a single
Node.js instance, as they would typically be used.
The former helper is also usable inside Node.js itself,
for both Worker and main threads.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

addaleax added the embedding Issues and PRs related to embedding Node.js in another project. label Oct 11, 2020
nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. labels Oct 11, 2020
Provide helpers for a) spinning the event loop and
b) setting up and tearing down the objects involved in a single
Node.js instance, as they would typically be used.
The former helper is also usable inside Node.js itself,
for both Worker and main threads.
addaleax added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 11, 2020
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 11, 2020

Copy link
Copy Markdown
Collaborator

lundibundi added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Oct 13, 2020

Copy link
Copy Markdown
Collaborator

Comment thread doc/api/embedding.md Outdated
addaleax added a commit that referenced this pull request Oct 14, 2020
Provide helpers for a) spinning the event loop and
b) setting up and tearing down the objects involved in a single
Node.js instance, as they would typically be used.
The former helper is also usable inside Node.js itself,
for both Worker and main threads.

PR-URL: #35597
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>

Copy link
Copy Markdown
Member Author

Landed in 9fd6122

addaleax closed this Oct 14, 2020
addaleax deleted the embed-boilerplate branch October 14, 2020 18:09

Copy link
Copy Markdown
Contributor

This doesn't land cleanly on v14.x, should we backport?

joesepi pushed a commit to joesepi/node that referenced this pull request Jan 8, 2021
Provide helpers for a) spinning the event loop and
b) setting up and tearing down the objects involved in a single
Node.js instance, as they would typically be used.
The former helper is also usable inside Node.js itself,
for both Worker and main threads.

PR-URL: nodejs#35597
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. embedding Issues and PRs related to embedding Node.js in another project. lib / src Issues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL