UNPKG

@nestjstools/messaging-amazon-sqs-extension

Version:

Extension to handle messages and dispatch them over Amazon SQS

9 lines (8 loc) 371 B
import { Channel } from '@nestjstools/messaging'; import { AmazonSqsChannelConfig } from './amazon-sqs.channel-config'; import { SQSClient } from '@aws-sdk/client-sqs'; export declare class AmazonSqsChannel extends Channel<AmazonSqsChannelConfig> { readonly client: SQSClient; constructor(config: AmazonSqsChannelConfig); onChannelDestroy(): Promise<void>; }