Sequential steps
Await related steps in one runner for one lock and one final result.
Sequential steps
One runner awaits two steps and reports one final flow result.
Ready
run: async (input, { signal, throwIfCancelled }) => {
const record = await createRecord(input, { signal })
throwIfCancelled()
await sendNotice(record.id, { signal })
return record
}This demo uses a local, temporary action. It does not send data or write to a service.