Skip to main content
TracingChannelSubscribers - diagnostics_channel - Node documentation
interface TracingChannelSubscribers

Usage in Deno

import { type TracingChannelSubscribers } from "node:diagnostics_channel";

Type Parameters

ContextType extends object

Properties

start: (message: ContextType) => void
end: (message: ContextType & { error?: unknown; result?: unknown; }) => void
asyncStart: (message: ContextType & { error?: unknown; result?: unknown; }) => void
asyncEnd: (message: ContextType & { error?: unknown; result?: unknown; }) => void
error: (message: ContextType & { error: unknown; }) => void