MCPcopy Create free account
hub / github.com/TanStack/ai / put

Method put

examples/sandbox-cloudflare/worker-configuration.d.ts:2465–2465  ·  view source on GitHub ↗
(
    key: string,
    value:
      | ReadableStream
      | ArrayBuffer
      | ArrayBufferView
      | string
      | null
      | Blob,
    options?: R2PutOptions & {
      onlyIf: R2Conditional | Headers
    },
  )

Source from the content-addressed store, hash-verified

2463 ): Promise<R2ObjectBody | R2Object | null>
2464 get(key: string, options?: R2GetOptions): Promise<R2ObjectBody | null>
2465 put(
2466 key: string,
2467 value:
2468 | ReadableStream

Callers 3

openMethod · 0.65
appendMethod · 0.65
finishMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected