@hadesz/monitor
Version:
A complete server monitoring system with agents, server and dashboard
10 lines (9 loc) • 377 B
TypeScript
/// <reference types="node" />
/// <reference types="node" />
import { Writable } from "stream";
import { StringEncoding } from "./StringEncoding";
export declare class StringWriter extends Writable {
protected buf: Buffer;
_write(chunk: Buffer | string | any, _: string, callback: (error: Error | null) => void): void;
getText(encoding: StringEncoding): string;
}