Skip to main content

deltapub-correlation

Import the Client and Command:

import { Client, Command } from 'amps';

Constructing the command:

const subCmd = new Command('delta_publish').topic(topic).data(data).correlationId(cross_ref);

The command can now be used in execute.