Skip to content
Français

TransportReadOptions

import type { TransportReadOptions } from "@elie-laloum/outpost";
  • signalOptional
    AbortSignal | undefined
    Aborts the read or listing; the call rejects instead of returning undefined.
  • maxBytesOptional
    number | undefined
    Largest payload a read accepts, default 64 MiB; a larger object rejects. list() ignores it.
export interface TransportReadOptions {
  readonly signal?: AbortSignal;
  readonly maxBytes?: number;
}