UNPKG

@bitblit/ratchet-epsilon-common

Version:

Tiny adapter to simplify building API gateway Lambda APIS

12 lines (11 loc) 609 B
import { BackgroundExecutionListener } from './background-execution-listener.js'; import { BackgroundExecutionEvent } from './background-execution-event.js'; import { DynamoRatchetLike } from '@bitblit/ratchet-aws/dynamodb/dynamo-ratchet-like'; 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>; }