Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/subscription/mod.ts>Event#unsubscribe

An event object that calls subscriptions each time the event is dispatched.
Latest
method Event.prototype.unsubscribe
import { Event } from "https://deno.land/x/subscription@2.0.1/mod.ts";

Unsubscribe to the event.

Parameters

...listeners: Subscription<T>[]

The subscriptions to remove.