import { IEventMap } from "./api/IEventMap" ; import { EventMap } from "./impl/EventMap" ; import { IContext } from "../../framework/api/IContext" ; import { IExtension } from "../../framework/api/IExtension" ; /**
 * An Event Map keeps track of listeners and provides the ability
 * to unregister all listeners with a single method call.
 */ export class LocalEventMapExtension implements IExtension { inheritDoc public extend ( context ) { context . injector . bind ( IEventMap ) . to ( EventMap ) ; } }