EdgeAIG's picture
download
raw
758 Bytes
import * as Effect from "../../Effect.ts";
import type * as Scope from "../../Scope.ts";
import * as Stream from "../../Stream.ts";
/**
* Creates a stream from a callback-style producer with pause and resume
* callbacks that are triggered when the internal queue applies backpressure.
*
* @category constructors
* @since 4.0.0
*/
export declare const asyncPauseResume: <A, E = never, R = never>(register: (emit: {
readonly single: (item: A) => void;
readonly array: (arr: ReadonlyArray<A>) => void;
readonly fail: (error: E) => void;
readonly end: () => void;
}) => Effect.Effect<{
onPause(): void;
onResume(): void;
}, E, R | Scope.Scope>, bufferSize?: number) => Stream.Stream<A, E, R>;
//# sourceMappingURL=SqlStream.d.ts.map

Xet Storage Details

Size:
758 Bytes
·
Xet hash:
91d8483080772a0ca8f2b95ee29b0f0273a6638387f2b2f2536ddc9ebec05660

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.