Skip to content

Commit eb007ab

Browse files
erj826Linkgoron
authored andcommitted
doc: fix sync comment in observer snippet
PR-URL: nodejs#41262 Refs: nodejs#41259 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Harshitha K P <[email protected]>
1 parent 1d660d4 commit eb007ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/perf_hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ const {
647647
} = require('perf_hooks');
648648

649649
const obs = new PerformanceObserver((list, observer) => {
650-
// Called three times synchronously. `list` contains one item.
650+
// Called once asynchronously. `list` contains three items.
651651
});
652652
obs.observe({ type: 'mark' });
653653

0 commit comments

Comments
 (0)