chore: update description of emitEventStep (#13838)

This commit is contained in:
Shahed Nasser
2025-10-23 16:03:00 +03:00
committed by GitHub
parent 22d23b148e
commit 90966633bb

View File

@@ -39,7 +39,11 @@ type Input = {
export const emitEventStepId = "emit-event-step"
/**
* Emit an event.
* This step emits an event, which you can listen to in a [subscriber](https://docs.medusajs.com/learn/fundamentals/events-and-subscribers). You can pass data to the
* subscriber by including it in the `data` property.
*
* The event is only emitted after the workflow has finished successfully. So, even if it's executed in the middle of the workflow, it won't actually emit the event until the workflow has completed successfully.
* If the workflow fails, it won't emit the event at all.
*
* @example
* emitEventStep({