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

x/subscription/mod.ts>Event#dispatch

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

Fire the event and call all subscriptions.

Parameters

...args: T

The arguments to pass along.