@@ -195,7 +195,7 @@ The `type` is a string that represents the type of resource that caused
195
195
` init ` to be called. Generally, it will correspond to the name of the
196
196
resource's constructor.
197
197
198
- ```
198
+ ``` text
199
199
FSEVENTWRAP, FSREQWRAP, GETADDRINFOREQWRAP, GETNAMEINFOREQWRAP, HTTPPARSER,
200
200
JSSTREAM, PIPECONNECTWRAP, PIPEWRAP, PROCESSWRAP, QUERYWRAP, SHUTDOWNWRAP,
201
201
SIGNALWRAP, STATWATCHER, TCPCONNECTWRAP, TCPWRAP, TIMERWRAP, TTYWRAP,
@@ -236,7 +236,7 @@ require('net').createServer((conn) => {}).listen(8080);
236
236
237
237
Output when hitting the server with ` nc localhost 8080 ` :
238
238
239
- ```
239
+ ``` console
240
240
TCPWRAP(2): trigger: 1 execution: 1
241
241
TCPWRAP(4): trigger: 2 execution: 0
242
242
```
@@ -314,7 +314,7 @@ require('net').createServer(() => {}).listen(8080, () => {
314
314
315
315
Output from only starting the server:
316
316
317
- ```
317
+ ``` console
318
318
TCPWRAP(2): trigger: 1 execution: 1
319
319
TickObject(3): trigger: 2 execution: 1
320
320
before: 3
@@ -344,7 +344,7 @@ calls to `before` and `after`.
344
344
345
345
Only using ` execution ` to graph resource allocation results in the following:
346
346
347
- ```
347
+ ``` console
348
348
TTYWRAP(6) -> Timeout(4) -> TIMERWRAP(5) -> TickObject(3) -> root(1)
349
349
```
350
350
0 commit comments