Skip to content
Français

TransportWriteOptions

import type { TransportWriteOptions } from "@elie-laloum/outpost";
  • signalOptional
    AbortSignal | undefined
    Abort a mutation. A network interruption can leave its outcome uncertain; reread before deciding to retry.
  • ifRevisionRequired
    string | null
    Revision the object must currently have, or null to require that the key is absent. A mismatch rejects with TransportConflict; remove() rejects null.
export interface TransportWriteOptions {
  readonly signal?: AbortSignal;
  readonly ifRevision: string | null;
}