UNPKG

@allgemein/eventbus

Version:
19 lines (18 loc) 600 B
import { IPseudoObject } from './IPseudoObject'; import { IEventBusAdapter } from '../adapter/IEventBusAdapter'; export declare abstract class AbstractPseudoObject<T extends IEventBusAdapter> implements IPseudoObject { eventID: string; uuid: string; object: any; adapter: T; error: Error; result: any; timer: any; resolve: Function; reject: Function; constructor(adapter: T, eventID: string, object: any); onDone(err: Error, res: any): void; waitForResult(ttl?: number): Promise<any>; listenerEventName(type?: string): string; reset(): void; }