async_hooks: add sync enterWith to async storage by Qard · Pull Request #31945 · nodejs/node
added
lib / src
labels
Feb 25, 2020
Qard
mentioned this pull request
2 tasks
mhdawson pushed a commit that referenced this pull request
Mar 9, 2020This allows transitioning the entire following sync and async execution sub-tree to the given async storage context. With this one can be sure the context binding will remain for any following sync activity and all descending async execution whereas the `run*(...)` methods must wrap everything that is intended to exist within the context. This is helpful for scenarios such as prepending a `'connection'` event to an http server which binds everything that occurs within each request to the given context. This is helpful for APMs to minimize the need for patching and especially adding closures. PR-URL: #31945 Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
MylesBorins pushed a commit that referenced this pull request
Mar 9, 2020This allows transitioning the entire following sync and async execution sub-tree to the given async storage context. With this one can be sure the context binding will remain for any following sync activity and all descending async execution whereas the `run*(...)` methods must wrap everything that is intended to exist within the context. This is helpful for scenarios such as prepending a `'connection'` event to an http server which binds everything that occurs within each request to the given context. This is helpful for APMs to minimize the need for patching and especially adding closures. PR-URL: #31945 Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
MylesBorins added a commit that referenced this pull request
Mar 10, 2020Notable changes: * [[`ff58854dbe`](ff58854dbe)] - **(SEMVER-MINOR)** **fs**: return first folder made by mkdir recursive (Benjamin Coe) [#31530](#31530) * [[`258a80d3cc`](258a80d3cc)] - **(SEMVER-MINOR)** **src**: create a getter for kernel version (Juan José Arboleda) [#31732](#31732) * [[`4d5981be96`](4d5981be96)] - **(SEMVER-MINOR)** **async_hooks**: add sync enterWith to ALS (Stephen Belanger) [#31945](#31945) * [[`dd83bd266d`](dd83bd266d)] - **(SEMVER-MINOR)** **wasi**: add returnOnExit option (Colin Ihrig) [#32101](#32101) PR-URL: #32185
MylesBorins added a commit that referenced this pull request
Mar 11, 2020Notable changes:
* async_hooks:
- add sync enterWith to ALS (Stephen Belanger)
#31945
* cli:
- allow --jitless V8 flag in NODE\_OPTIONS (Andrew Neitsch)
#32100
* fs:
- return first folder made by mkdir recursive (Benjamin Coe)
#31530
* n-api:
- define release 6 (Gabriel Schulhof)
#32058
* src:
- create a getter for kernel version (Juan José Arboleda)
#31732
* wasi:
- add returnOnExit option (Colin Ihrig)
#32101
PR-URL: #32185
MylesBorins added a commit that referenced this pull request
Mar 11, 2020Notable changes:
* async_hooks:
- add sync enterWith to ALS (Stephen Belanger)
#31945
* cli:
- allow --jitless V8 flag in NODE\_OPTIONS (Andrew Neitsch)
#32100
* fs:
- return first folder made by mkdir recursive (Benjamin Coe)
#31530
* n-api:
- define release 6 (Gabriel Schulhof)
#32058
* src:
- create a getter for kernel version (Juan José Arboleda)
#31732
* wasi:
- add returnOnExit option (Colin Ihrig)
#32101
PR-URL: #32185
MylesBorins added a commit that referenced this pull request
Mar 12, 2020Notable changes:
* async_hooks:
- add sync enterWith to ALS (Stephen Belanger)
#31945
* cli:
- allow --jitless V8 flag in NODE\_OPTIONS (Andrew Neitsch)
#32100
* fs:
- return first folder made by mkdir recursive (Benjamin Coe)
#31530
* n-api:
- define release 6 (Gabriel Schulhof)
#32058
* src:
- create a getter for kernel version (Juan José Arboleda)
#31732
* wasi:
- add returnOnExit option (Colin Ihrig)
#32101
PR-URL: #32185
MylesBorins added a commit that referenced this pull request
Mar 12, 2020Notable changes:
* async_hooks:
- add sync enterWith to ALS (Stephen Belanger)
#31945
* cli:
- allow --jitless V8 flag in NODE\_OPTIONS (Andrew Neitsch)
#32100
* fs:
- return first folder made by mkdir recursive (Benjamin Coe)
#31530
* n-api:
- define release 6 (Gabriel Schulhof)
#32058
* src:
- create a getter for kernel version (Juan José Arboleda)
#31732
* wasi:
- add returnOnExit option (Colin Ihrig)
#32101
PR-URL: #32185
puzpuzpuz pushed a commit to puzpuzpuz/node that referenced this pull request
Apr 14, 2020This allows transitioning the entire following sync and async execution sub-tree to the given async storage context. With this one can be sure the context binding will remain for any following sync activity and all descending async execution whereas the `run*(...)` methods must wrap everything that is intended to exist within the context. This is helpful for scenarios such as prepending a `'connection'` event to an http server which binds everything that occurs within each request to the given context. This is helpful for APMs to minimize the need for patching and especially adding closures. PR-URL: nodejs#31945 Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
targos
removed
the
author ready
label
Apr 25, 2020targos pushed a commit to targos/node that referenced this pull request
Apr 25, 2020This allows transitioning the entire following sync and async execution sub-tree to the given async storage context. With this one can be sure the context binding will remain for any following sync activity and all descending async execution whereas the `run*(...)` methods must wrap everything that is intended to exist within the context. This is helpful for scenarios such as prepending a `'connection'` event to an http server which binds everything that occurs within each request to the given context. This is helpful for APMs to minimize the need for patching and especially adding closures. PR-URL: nodejs#31945 Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
targos pushed a commit that referenced this pull request
Apr 28, 2020This allows transitioning the entire following sync and async execution sub-tree to the given async storage context. With this one can be sure the context binding will remain for any following sync activity and all descending async execution whereas the `run*(...)` methods must wrap everything that is intended to exist within the context. This is helpful for scenarios such as prepending a `'connection'` event to an http server which binds everything that occurs within each request to the given context. This is helpful for APMs to minimize the need for patching and especially adding closures. PR-URL: #31945 Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Qard
deleted the
async-storage-start
branch
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