@studyportals/sp-r2d2
Version:
A framework that contains various components used when developing projects that will be deployed via AWS λ.
12 lines (11 loc) • 341 B
TypeScript
import { IEventTranslator } from './i-event-translator.interface';
/**
* Provides the necessary functionality to instantiate
* translaters for a specific type of Lambda event.
*/
export interface IEventTranslatorFactory<TEvent> {
/**
* Creates a new event translator.
*/
create(): IEventTranslator<TEvent>;
}