chore: update description of emitEventStep (#13838)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-10-23 16:03:00 +03:00
1 parent 22d23b148e
commit 90966633bb
1 file changed
+5 -1
@@ -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({