This commit is contained in:
skdhg committed 2023-07-15 18:36:43 +05:45
1 parent 8d6839244a
commit dd706e7f23
14 files changed
+766 -8

No files matched your search

Vendored
+13
View File
@@ -0,0 +1,13 @@
import type { ProbeResult } from './lib/binding'
import type { Readable } from 'stream'
export type StreamProbeResult = {
stream: Readable;
result: ProbeResult;
};
export * from './lib/binding';
export function probeStream(
stream: Readable,
probeSize?: number
): Promise<StreamProbeResult>;