Interface TransformStreamDefaultController<O>

interface TransformStreamDefaultController<O> {
    desiredSize: null | number;
    enqueue(chunk?: O): void;
    error(reason?: any): void;
    terminate(): void;
}

Type Parameters

  • O = any

Properties

desiredSize: null | number

Methods

  • Parameters

    • Optionalchunk: O

    Returns void

  • Parameters

    • Optionalreason: any

    Returns void

  • Returns void