const id = process.env.BUZZI_API_ID || '145fc8a1-6782-400d-aa7a-66c930acc318';
const secret = process.env.BUZZI_API_SECRET || 'fuNFRdbjhZRzCHVqDHkYGBX7Qv4YaGVoED4rioA8ufjb4vsT8awKtu2oP2QkoNys';
const service = new buzzi.Service({ id, secret });
Send your Event to Buzzi.
let response = await service.send('buzzi.generic.test', {
message: "Hello, World!",
timestamp: new Date(),
});
Wait for event to be processed. Since this Buzzi Service is subscribed to itself for the `buzzi.generic.test` event, we'll be pulling that same event in the step.