Skip to main content
TracingChannelSubscribers - node__diagnostics_channel.d.ts - Node documentation
interface TracingChannelSubscribers

Usage in Deno

```typescript import { type TracingChannelSubscribers } from "node:node__diagnostics_channel.d.ts"; ```

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