@studyportals/sp-r2d2
Version:
A framework that contains various components used when developing projects that will be deployed via AWS λ.
8 lines (7 loc) • 405 B
TypeScript
import { IResponseSender, IEventHandler } from '../..';
export declare class PingEventHandlerDecorator<TEvent> implements IEventHandler<TEvent> {
protected readonly decoratedEventHandler: IEventHandler<TEvent>;
constructor(decoratedEventHandler: IEventHandler<TEvent>);
handle(event: TEvent, responseSender: IResponseSender): Promise<unknown>;
isPingEvent(event: any): Promise<boolean>;
}