@ayanaware/bento
Version:
Modular runtime framework designed to solve complex tasks
9 lines (8 loc) • 375 B
TypeScript
import { EntityReference } from '../entities/types/EntityReference';
export interface Subscriptions {
reference: EntityReference;
event: string;
handler: (...args: Array<any>) => any;
}
export declare function getSubscriptions(target: Function): Array<Subscriptions>;
export declare function Subscribe(reference: EntityReference, event: string): MethodDecorator;