Module

x/ts_morph/common/ts_morph_common.d.ts>EventContainer

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class EventContainer
import { EventContainer } from "https://dotland.deno.dev/x/ts_morph@17.0.1/common/ts_morph_common.d.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.