Interface TransformStreamDefaultController<O>

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

    Type Parameters

    • O = any

    Properties

    desiredSize: number

    Methods

    • Parameters

      • Optionalchunk: O

      Returns void

    • Parameters

      • Optionalreason: any

      Returns void