Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class DenoKVFileStream
import { DenoKVFileStream } from "https://deno.land/x/fathym_eac_runtime@v0.1.53/src/utils/streams/DenoKVFileStream.ts";

Constructors

new
DenoKVFileStream(denoKv: Deno.Kv)

Methods

Exists(key: Deno.KvKey): Promise<boolean>
Read(key: Deno.KvKey): Promise<{ Contents: ReadableStream<Uint8Array>; Headers: Record<string, string> | undefined; } | undefined>
Remove(key: Deno.KvKey): Promise<void>
Write(
stream: ReadableStream<Uint8Array>,
ttlSeconds?: number,
headers?: Headers,
maxChunkSize?,
): Promise<[void, Deno.KvCommitResult]>