Skip to main content
Go to Latest
method EventEmitter.prototype.emitUntyped
import { EventEmitter } from "https://deno.land/x/evtemitter@v3.0.0/mod.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