Skip to main content
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://deno.land/x/ts_morph@15.1.0/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.