UNPKG

@omnia/foundation

Version:

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

6 lines (5 loc) 302 B
export declare class EventService { subscribeToEvent: (eventName: string, callback: (args: any[]) => void) => string; unsubscribeToEvent: (subscriptionId: string) => boolean; publishEvent: (eventName: string, args?: any[], addToQueue?: boolean, onlyKeepLastEvent?: boolean) => void; }