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

x/middleware/deps.ts>Event#subscribeOnce

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

Subscribe to the event once.

Parameters

...listeners: Subscription<T>[]

The subscriptions to add.