Interface TransformStreamDefaultController<O>

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

Type Parameters

  • O = any

Accessors

  • get desiredSize(): number
  • Returns number

Methods

  • Parameters

    • Optional chunk: O

    Returns void

  • Parameters

    • reason: any

    Returns void

  • Returns void