Skip to main content

sow-delete-keys

Import the Client and Command:

import { Client, Command } from 'amps';

Deleting the messages for the comma-delimited set of keys passed in:

const delCmd = new Command('sow_delete').topic(topic).sowKeys(keyList);

The command can now be used in execute.