Files
node/doc/api
Gerhard Stöbich 8ee30ea900 doc: correct tracingChannel.traceCallback()
tracingChannel.traceCallback() requires a callback otherwise it throws
and invalid argument error. As a result arguments are not optional.

Correct the documentation to reflect that arguments are not optional.

Besides that correct description regarding signaling of errors.

Remove an unneeded null check in wrappedCallback() which can't happen
because it's validated that callback is of type function.

PR-URL: https://github.com/nodejs/node/pull/51068
Fixes: https://github.com/nodejs/node/issues/50996
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
2024-03-25 17:28:13 +00:00
..
2023-05-12 11:57:05 +02:00
2024-03-25 17:27:43 +00:00
2023-11-11 20:27:49 +01:00
2023-05-03 08:57:36 +02:00
2023-01-14 14:25:08 +00:00
2023-05-02 09:34:04 +02:00
2023-09-27 23:10:20 -04:00
2023-07-04 19:18:25 -03:00
2024-03-25 17:26:41 +00:00
2023-08-17 08:35:58 -03:00
2023-07-18 13:45:29 -05:00
2022-11-01 04:21:13 +00:00
2023-05-30 11:36:18 +02:00
2023-09-27 23:10:21 -04:00
2024-01-09 08:49:13 +00:00