grafana/public/app/core/app_events.ts
Torkel Ödegaard 74c65eca26
EventBus: Introduces new event bus with emitter backward compatible interface (#27564)
* updated

* Experimenting with event bus with legacy support

* Before switch to emitter

* EventBus & Emitter unification

* Everything using new EventBus

* Making progress

* Fixing merge issues

* Final merge issues

* Updated

* Updates

* Fix

* Updated

* Update

* Update

* Rename methods to publish and subscribe

* Ts fixes

* Updated

* updated

* fixing doc warnigns

* removed unused file
2020-11-03 13:08:54 +01:00

6 lines
153 B
TypeScript

import { EventBusSrv, EventBusExtended } from '@grafana/data';
export const appEvents: EventBusExtended = new EventBusSrv();
export default appEvents;