UNPKG

insite-ws-transfers

Version:

inSite file transfers over WebSockets

17 lines 447 B
import type { StreamerOptions } from "./types"; type Listener = { (chunk: string): Promise<void> | void; }; export declare class StringStreamer { #private; constructor(string: string, options?: StreamerOptions); string: string; size: number; chunkSize: number; listener?: Listener; isAborted: boolean; start(listener: Listener): void; abort(): void; } export {}; //# sourceMappingURL=StringStreamer.d.ts.map