UNPKG

@omnia/foundation

Version:

Provide omnia foundation typings and tooling work on client side for omnia extension

7 lines (6 loc) 373 B
export declare module EventHandler { function subscribeToEvent(eventName: string, callback: (args: any[]) => void): string; function unsubscribeToEvent(subscriptionId: string): boolean; function publishEvent(eventName: string, args: any[], addToQueue?: boolean, onlyKeepLastEvent?: boolean): void; function clearEventQueue(eventName: string): void; }