Skip to content

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.

Fixes: #50996 (closed)

Merge request reports

Loading