Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Use [stack-generator](https://github.com/stacktracejs/stack-generator) to genera
* **offline: Boolean (default: false)** - Set to `true` to prevent all network requests

#### `StackTrace.instrument(fn, callback, /*optional*/ errback)` => Boolean
Call callback with a _stack trace_ anytime `interestingFn` is called. Returns `true` if given Function is successfully instrumented
Call callback with a _stack trace_ anytime `fn` is called. Returns `true` if given Function is successfully instrumented
* **fn** - Function to wrap, call callback on invocation and call-through
* **callback** - Function to call with stack trace (generated by `StackTrace.get()`) when fn is called
* **errback** - (Optional) Function to call with Error object if there was a problem getting a stack trace.
Expand Down