Skip to main content
Latest
method default.prototype.emitUntyped
import { default } from "https://deno.land/x/evtemitter@v3.1.0/EventEmitter.ts";

Emits an event.

This method is protected, so that only a class extending StrictEventEmitter can get around the strict typing. This is useful for calling emit.apply, which can be called as emitUntyped.apply.

Parameters

type: EvName

Event name

Arguments to emit along with the event