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

x/middleware/deps.ts>Event#dispatch

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

Fire the event and call all subscriptions.

Parameters

...args: T

The arguments to pass along.