Type alias ReadableStreamReadResult<R>

ReadableStreamReadResult<R>: {
    done: false;
    value: R;
} | {
    done: true;
    value?: undefined;
}

Type Parameters

  • R = any

Type declaration

  • done: false
  • value: R

Type declaration

  • done: true
  • Optional value?: undefined