UNPKG

@studyportals/sp-r2d2

Version:

A framework that contains various components used when developing projects that will be deployed via AWS λ.

13 lines (12 loc) 1.14 kB
import { IRequestHandlerFactory } from '../../application'; import { LambdaHandler } from './lambda-handler.class'; import { IResponseSenderFactory } from '../core/response-sending-interfaces/i-response-sender-factory.interface'; import { IBootstrapperFactory } from '../bootstrapping-interfaces/i-bootstrapper-factory.interface'; import { IEventTranslatorFactory } from '../core/event-translation-interfaces/i-event-translator-factory.interface'; import { IEventFilterFactory } from '../core/event-filtering-interfaces/i-event-filter-factory.interface'; import { IEventHandler } from '../core/event-handling-interfaces/i-event-handler.interface'; export declare class FilteringLambdaHandler<TEvent> extends LambdaHandler<TEvent> { protected readonly eventFilterFactory: IEventFilterFactory<TEvent>; constructor(responseSenderFactory: IResponseSenderFactory, bootstrapperFactory: IBootstrapperFactory, eventTranslatorFactory: IEventTranslatorFactory<TEvent>, requestHandlerFactory: IRequestHandlerFactory, eventFilterFactory: IEventFilterFactory<TEvent>); protected createApplicationEventHandler(): IEventHandler<TEvent>; }