UNPKG

@gent-js/gent

Version:

template-based data generator.

12 lines (11 loc) 510 B
import * as stream from "node:stream"; import type { UdpOutputOptions } from "../types.js"; export declare class UdpDocumentStream extends stream.Writable { private readonly address; private readonly port; private socketType; constructor(options: UdpOutputOptions); _construct(callback: (error?: Error | null) => void): void; _write(chunk: unknown, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; _final(callback: (error?: Error | null) => void): void; }