Skip to main content

sow-ack-queue

Import the Client and Command:

import { Client, Command } from 'amps';

Acknowledging the messages for the comma-delimited set of bookmarks passed in:

const delCmd = new Command('sow_delete').topic(queueTopic).bookmark(bookmarkList);

The command can now be used in execute.