Skip to main content

sow-delete-all

Import the Client and Command:

import { Client, Command } from 'amps'; 

Deleting all messages from a topic, using a connected client:

client.sowDelete(topic, "1=1");