
auths objectreturn or this.key = 'value', pass input data to your code viaparams, and maintain state across executions with$checkpoint.async (event, steps) => {}const { ts } = steps.trigger.context
$send.sse({
channel: "cron_test",
payload: {
ts,
},
})auths objectreturn or this.key = 'value', pass input data to your code viaparams, and maintain state across executions with$checkpoint.async (event, steps) => {}const { ts } = steps.trigger.context
// You can send data to multiple SSE "channels" within the same workflow.
// Both this and the event above will be delivered to the same event stream,
// but the event field in the SSE will contain the name of the channel.
$send.sse({
channel: "cron_test_2",
payload: {
ts,
},
})