Skip to main content

sow-and-subscribe-history

Import the Client and Command:

import { Client, Command } from 'amps';

Constructing the command:

const subCmd = new Command('sow_and_subscribe').topic(topic).bookmark('20251231T010101');

The command can now be used in execute.