UNPKG

@bitblit/epsilon

Version:

Tiny adapter to simplify building API gateway Lambda APIS

12 lines (11 loc) 574 B
import { BackgroundExecutionListener } from './background-execution-listener'; import { BackgroundExecutionEvent } from './background-execution-event'; import { DynamoRatchetLike } from '@bitblit/ratchet/aws'; export declare class BackgroundDynamoLogTableHandler<T> implements BackgroundExecutionListener<T> { private dynamo; private tableName; private env; private backgroundQueueName; constructor(dynamo: DynamoRatchetLike, tableName: string, env: string, backgroundQueueName: string); onEvent(event: BackgroundExecutionEvent<T>): Promise<void>; }