Skip to main content

subscribe-conflated-key

Import the Client and Command:

import { Command, Client } from 'amps';

Constructing the command:

const subCmd = new Command('subscribe').topic(topic).options('conflation=1s,conflation_key=[/id]');

The command can now be used in execute.