Skip to content

Commit b906003

Browse files
committed
docs(README.MD): document change
1 parent 4932f78 commit b906003

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,9 @@ The name must have the following format: `<Category>/<Name>`
136136
This method gracefully stops trace.
137137

138138
```javascript
139-
trace.stop()
139+
trace.stop(cb)
140140
```
141+
Accepts a node-style callback to be called when trace stopped.
141142

142143
Note: There is no way to restart trace after calling this method. You should end your process after calling this
143144
method.

0 commit comments

Comments
 (0)