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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Harshitha K P <[email protected]>
  • 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
Original file line number Diff line number Diff line change
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.