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

x/hono/utils/stream.ts>StreamingApi#onAbort

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
method StreamingApi.prototype.onAbort
import { StreamingApi } from "https://deno.land/x/hono@v4.0.1/utils/stream.ts";

Parameters

listener: () => void | Promise<void>