Skip to content

Commit 22113bb

Browse files
committed
docs.
1 parent 7f10ef2 commit 22113bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/ExecutionContextResource.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ const { AsyncResource } = require('async_hooks');
22

33
const ASYNC_RESOURCE_TYPE = 'REQUEST_CONTEXT';
44

5+
/**
6+
* Wraps node AsyncResource with predefined type.
7+
*/
58
class ExecutionContextResource extends AsyncResource {
69
constructor() {
710
super(ASYNC_RESOURCE_TYPE);

0 commit comments

Comments
 (0)