@pwngh/economy-lab
    Preparing search index...

    Interface SqsClient

    Structural shape of the SQS client the adapter calls: just the send method, so a real SQSClient from @aws-sdk/client-sqs satisfies it and a test can pass a plain object. The adapter never imports the SDK; the caller creates and owns the client.

    interface SqsClient {
        send(
            command: SqsCommand,
            options?: { abortSignal?: AbortSignal },
        ): Promise<Record<string, unknown>>;
    }
    Index
    • Parameters

      • command: SqsCommand
      • Optionaloptions: { abortSignal?: AbortSignal }

      Returns Promise<Record<string, unknown>>