9 lines
296 B
TypeScript
9 lines
296 B
TypeScript
import { Feature } from '../types/Feature';
|
|
export declare class EventBus extends Feature {
|
|
private EventTable;
|
|
sub(type: string, callback: Function): void;
|
|
unsub(type: string, callback: Function): void;
|
|
unsubAll(type: string): void;
|
|
pub(type: string, options?: any): void;
|
|
}
|