UNPKG

nxkit

Version:

This is a collection of tools, independent of any other libraries

13 lines (12 loc) 326 B
/// <reference types="node" /> import * as net from 'net'; interface Options { readable?: boolean; writable?: boolean; error?: boolean; } interface Callback { (err?: Error | null, data?: any): void; } export default function eos(stream: net.Socket, opts?: Options, callback?: Callback): () => void; export {};