W3cubDocs

/Deno

TransformStreamDefaultControllerTransformCallback

interface TransformStreamDefaultControllerTransformCallback <I, O> {
(chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;
}

Type Parameters

I
O

Call Signatures

(chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>