Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/workers_middleware/index.ts>FlushedContext

Placeholder for Worker-based middleware solution
Latest
interface FlushedContext
Re-export
import { type FlushedContext } from "https://deno.land/x/workers_middleware@v0.1.0-pre.36/index.ts";

Properties

flushed: Promise<Response>

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.