Transport
Parameters and properties
Section titled “Parameters and properties”nameRequiredstringAdapter name for diagnostics: local or s3 for the built-in transports.readRequired(key: string, options?: TransportReadOptions) => Promise<TransportObject | undefined>Reads one complete object, or returns undefined when the key is absent. An object larger than maxBytes rejects instead of being truncated.writeRequired(key: string, bytes: Uint8Array, options: TransportWriteOptions) => Promise<TransportEntry>Atomically stores up to 64 MiB when ifRevision matches the current revision, or is null and the key is absent; otherwise rejects with TransportConflict. Each success returns a new revision, even for identical bytes.removeRequired(key: string, options: TransportWriteOptions) => Promise<void>Deletes the object only when its current revision equals ifRevision; a missing object or another revision rejects with TransportConflict. ifRevision null is rejected.listRequired(prefix?: string, options?: TransportReadOptions) => AsyncIterable<TransportEntry>Yields the metadata of every object whose key starts with prefix, across backend pages. It is not a snapshot: objects changed during the listing may or may not appear.