File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ function before(asyncId) { }
68
68
// After is called just after the resource's callback has finished.
69
69
function after (asyncId ) { }
70
70
71
- // Destroy is called when an AsyncWrap instance is destroyed.
71
+ // Destroy is called when the resource is destroyed.
72
72
function destroy (asyncId ) { }
73
73
74
74
// promiseResolve is called only for promise resources, when the
@@ -635,7 +635,7 @@ see the details of the V8 [PromiseHooks][] API.
635
635
636
636
Library developers that handle their own asynchronous resources performing tasks
637
637
like I/O, connection pooling, or managing callback queues may use the
638
- ` AsyncWrap ` JavaScript API so that all the appropriate callbacks are called.
638
+ ` AsyncResource ` JavaScript API so that all the appropriate callbacks are called.
639
639
640
640
### Class: ` AsyncResource `
641
641
You can’t perform that action at this time.
0 commit comments