Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update doc/api/util.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
debadree25 and aduh95 authored Feb 5, 2023
commit f07672960ac265555d5042957a912b1415ac0332
2 changes: 1 addition & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -2008,7 +2008,7 @@ the returned promise shall remain pending if `resource`
goes out of memory. The function shall automatically
cleanup any event listeners it attaches to `signal`.

```js
```cjs
const { aborted } = require('util');
Comment thread
debadree25 marked this conversation as resolved.
Outdated

const dependent = obtainSomethingAbortable();
Expand Down