Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ts_morph/common/mod.ts>EventContainer

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class EventContainer
import { EventContainer } from "https://deno.land/x/ts_morph@16.0.0/common/mod.ts";

Event container for event subscriptions.

Type Parameters

optional
EventArgType = undefined

Properties

private
getIndex
private
readonly
subscriptions

Methods

fire(arg: EventArgType): void

Fire an event.

Subscribe to an event being fired.

Unsubscribe to an event being fired.