Skip to content

Commit df7cc39

Browse files
committed
docs: limitations and reference link
1 parent 7289145 commit df7cc39

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414

1515
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").
1616

17+
## Limitation
18+
19+
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.
20+
1721
## Installation
1822

1923
```sh-session
@@ -51,7 +55,7 @@ configure({
5155
HTTPCLIENTREQUEST: 300,
5256
TCPCONNECTWRAP: 100,
5357
FSREQCALLBACK: 150,
54-
// ...
58+
// See https://nodejs.org/api/async_hooks.html#type
5559
}
5660
})
5761
```

0 commit comments

Comments
 (0)