Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FlushedContext

import type { FlushedContext } from "https://raw.githubusercontent.com/worker-tools/middleware/master/index.ts";
interface FlushedContext {
flushed: Promise<Response>;
}

§Properties

§
flushed: Promise<Response>
[src]

A promise that resolves when the entire response body has been written to the wire, or if the stream has been closed for any other reason. Most likely useful when combined with streaming responses.