Skip to content

ReadWriteNamespace

Source: src/Cloudflare/KV/ReadWriteNamespace.ts

Bind a {@link Namespace} to a Worker with read + write access and obtain the Effect-native KV client (get, getWithMetadata, list, put, delete).

ReadWriteNamespace is a single identifier that is simultaneously the binding’s Context tag, its type, and the callable — yield* Cloudflare.KV.ReadWriteNamespace(ns).