Kind: Function
Source: src/middleware/etag/digest.ts
Part of: Middleware
Signature
tsasync function generateDigest(stream: ReadableStream<Uint8Array<ArrayBuffer>> | null, generator: (body: Uint8Array<ArrayBuffer>) => ArrayBuffer | Promise<ArrayBuffer>): Promise<string | null>
Parameters
| Name | Type |
|---|---|
stream | `ReadableStream<Uint8Array |
generator | `(body: Uint8Array |
Returns: Promise<string | 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)
handler—src/middleware/etag/index.ts:97
Was this page helpful?