GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — async_hooks: remove deprecated example · nodejs/node@a6986fe

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • async_hooks.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/async_hooks.md‎

Copy file name to clipboardExpand all lines: doc/api/async_hooks.md
-8Lines changed: 0 additions & 8 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -615,14 +615,6 @@ asyncResource.asyncId();
615615

616616
// Return the trigger ID for the AsyncResource instance.
617617
asyncResource.triggerAsyncId();
618-
619-
// Call AsyncHooks before callbacks.
620-
// Deprecated: Use asyncResource.runInAsyncScope instead.
621-
asyncResource.emitBefore();
622-
623-
// Call AsyncHooks after callbacks.
624-
// Deprecated: Use asyncResource.runInAsyncScope instead.
625-
asyncResource.emitAfter();
626618
```
627619

628620
#### new AsyncResource(type[, options])

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.