Skip to content

Commit 5cfc547

Browse files
erj826targos
authored andcommitted
doc: fix sync comment in observer snippet
PR-URL: #41262 Refs: #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 d62fe31 commit 5cfc547

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)