Skip to content

getContentFromKVAsset

reference
1 min readUpdated

Kind: Function

Source: src/adapter/cloudflare-workers/utils.ts

Part of: Adapter

Signature

ts
async function getContentFromKVAsset(path: string, options: KVAssetOptions): Promise<ReadableStream | null>

Parameters

NameType
pathstring
optionsKVAssetOptions

Returns: Promise<ReadableStream | null>

Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (1)

  • ServeStaticOptionssrc/adapter/cloudflare-workers/serve-static.ts:6

Was this page helpful?

Download as PDF
getContentFromKVAsset — Hono (narrator proof)