@nivinjoseph/n-eda
Version:
Event Driven Architecture framework
20 lines • 728 B
TypeScript
import { ServiceLocator } from "@nivinjoseph/n-ject";
import { EdaEvent } from "../eda-event.js";
import { EdaManager } from "../eda-manager.js";
export declare class AwsLambdaEventHandler {
private readonly _nedaDistributedObserverNotifyEventName;
private _manager;
private _logger;
initialize(manager: EdaManager): void;
process(event: object, context: Record<string, any>): Promise<{
eventName: string;
eventId: string;
} | {
statusCode: number;
error: string;
}>;
protected onEventReceived(scope: ServiceLocator, topic: string, event: EdaEvent): void;
private _process;
private _getErrorMessage;
}
//# sourceMappingURL=aws-lambda-event-handler.d.ts.map