Skip to content

Commit

Permalink
docs: limitations and reference link
Browse files Browse the repository at this point in the history
  • Loading branch information
zero734kr committed Oct 23, 2022
1 parent 7289145 commit df7cc39
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

Currently, the only feature of this module is to listen for your asynchronous operations and log them to the console if they take too long to complete (considered "slow").

## Limitation

As async_hooks does not provide information about the execution context, this module cannot provide the detailed location of where the operation was started like Python's asyncio. I will try to find a way to do this in the future. If you have any ideas, please let me know.

## Installation

```sh-session
Expand Down Expand Up @@ -51,7 +55,7 @@ configure({
HTTPCLIENTREQUEST: 300,
TCPCONNECTWRAP: 100,
FSREQCALLBACK: 150,
// ...
// See https://nodejs.org/api/async_hooks.html#type
}
})
```
Expand Down

0 comments on commit df7cc39

Please sign in to comment.