Skip to content

Commit

Permalink
doc: fix sync comment in observer snippet
Browse files Browse the repository at this point in the history
PR-URL: nodejs#41262
Refs: nodejs#41259
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
  • Loading branch information
erj826 authored and Linkgoron committed Jan 31, 2022
1 parent 1d660d4 commit eb007ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/perf_hooks.md
Expand Up @@ -647,7 +647,7 @@ const {
} = require('perf_hooks');

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

Expand Down

0 comments on commit eb007ab

Please sign in to comment.