chore(docs): Generated References (automated) (#13857)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
1 parent
340d826e72
commit
dbf8fb9bda
237 files changed
+129165
-128677
No files matched your search
+5
-1
@@ -9,7 +9,11 @@ import { TypeList } from "docs-ui"
|
||||
|
||||
This documentation provides a reference to the `emitEventStep` step. It belongs to the `@medusajs/medusa/core-flows` package.
|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user