Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/middleware/deps.ts>Event#unsubscribe

If you're gonna implement middlewares, you should do it right! ;)
Latest
method Event.prototype.unsubscribe
import { Event } from "https://deno.land/x/middleware@1.2.0/deps.ts";

Unsubscribe to the event.

Parameters

...listeners: Subscription<T>[]

The subscriptions to remove.