Skip to content

Commit 4330b00

Browse files
author
odeadglaz
committed
docs.
1 parent 9eb570b commit 4330b00

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const Context = {
3535
* Creates an execution context for the current asyncId process.
3636
* This will expose Context get / update at any point after.
3737
* @param {Object} initialContext - The initial context to be used
38+
* @returns void
3839
*/
3940
create: (initialContext = {}) => {
4041
const asyncId = asyncHooks.executionAsyncId();
@@ -51,6 +52,7 @@ const Context = {
5152
/**
5253
* Updates the current async process context
5354
* @param {Object} update - The update to apply on the current process context
55+
* @returns void
5456
*/
5557
update: (update = {}) => {
5658
const asyncId = asyncHooks.executionAsyncId();

0 commit comments

Comments
 (0)