Skip to main content

sow-and-subscribe-history-filter

Import the Client and Command:

import { Client, Command } from 'amps';

Constructing the command:

const subCmd = new Command('sow_and_subscribe').topic(topic).bookmark('20251231T010101').filter('/id > 1');

The command can now be used in execute.