Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RetriableReadableStream

Package version

ONLY AVAILABLE IN NODE.JS RUNTIME.

A Node.js ReadableStream will internally retry when internal ReadableStream unexpected ends.

Hierarchy

  • any
    • RetriableReadableStream

Index

Constructors

Methods

Constructors

constructor

  • Creates an instance of RetriableReadableStream.

    memberof

    RetriableReadableStream

    Parameters

    • source: NodeJS.ReadableStream

      The current ReadableStream returned from getter

    • getter: ReadableStreamGetter

      A method calling downloading request returning a new ReadableStream from specified offset

    • offset: number

      Offset position in original data source to read

    • count: number

      How much data in original data source to read

    • Default value options: RetriableReadableStreamOptions = {}

    Returns RetriableReadableStream

Methods

_read

  • _read(): void

Generated using TypeDoc