Skip to main content

sow-and-subscribe-select

Import the Client and Command:

import { Client, Command } from 'amps';

Constructing the command:

const subCmd = new Command('sow_and_subscribe').topic(topic).options('select=[-/,+/fieldOne]');

The command can now be used in execute.