| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 782a6a0 commit 07bde05
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -863,7 +863,7 @@ channels.tracePromise(async () => { | |||
| 863 | 863 | }); | |
| 864 | 864 | ``` | |
| 865 | 865 | ||
| 866 | - #### `tracingChannel.traceCallback(fn, position, context, thisArg, ...args)` | ||
| 866 | + #### `tracingChannel.traceCallback(fn[, position[, context[, thisArg[, ...args]]]])` | ||
| 867 | 867 | ||
| 868 | 868 | <!-- YAML | |
| 869 | 869 | added: | |
@@ -917,7 +917,7 @@ const channels = diagnostics_channel.tracingChannel('my-channel'); | |||
| 917 | 917 | channels.traceCallback((arg1, callback) => { | |
| 918 | 918 | // Do something | |
| 919 | 919 | callback(null, 'result'); | |
| 920 | - }, { | ||
| 920 | + }, 1, { | ||
| 921 | 921 | some: 'thing', | |
| 922 | 922 | }, thisArg, arg1, callback); | |
| 923 | 923 | ``` | |
| Back | FazBrowse Home | New Git URL |
0 commit comments