UNPKG

@m-ld/gateway

Version:

m-ld gateway for services

18 lines (17 loc) 576 B
/// <reference types="node" /> import { Readable, ReadableOptions } from 'stream'; import { Consumable } from 'rx-flowable'; export interface StringFormat { opening?: string; closing?: string; separator: string; stringify(value: any): string; } export declare class StringReadable extends Readable { private index; private subs; private next?; constructor(source: Consumable<any>, format: StringFormat, opts?: ReadableOptions); _read(size: number): void; _destroy(error: Error | null, callback: (error?: Error | null) => void): void; }