UNPKG

@studyportals/sp-r2d2

Version:

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

8 lines (7 loc) 285 B
import { IResponseSender } from '../response-sending-interfaces/i-response-sender.interface'; /** * Provides the neccessary functionality to handle events */ export interface IEventHandler<TEvent> { handle(event: TEvent, responseSender: IResponseSender): Promise<void>; }