Bun

interface

fs.promises.PullOptions

interface PullOptions

  • autoClose?: boolean

    Close the file handle when the stream ends.

  • chunkSize?: number

    Size in bytes of the buffer allocated for each read operation.

  • limit?: number

    Maximum number of bytes to read before ending the iterator. Reads stop when limit bytes have been delivered or EOF is reached, whichever comes first.

  • start?: number

    Byte offset to begin reading from. When specified, reads use explicit positioning (pread semantics).