docs: clarify how emitEventStep emits an event in a workflow (#13836)
This commit is contained in:
1 parent
90966633bb
commit
4ab185c685
81 files changed
+479
-3
No files matched your search
@@ -38,7 +38,7 @@ Some examples of service events:
|
||||
|
||||
## Emit Event in a Workflow
|
||||
|
||||
To emit a workflow event, use the `emitEventStep` helper step provided in the `@medusajs/medusa/core-flows` package.
|
||||
To emit a workflow event, use the `emitEventStep` helper step provided in the `@medusajs/medusa/core-flows` package. It allows you to emit an event from within a workflow, and it only emits the event after the workflow has finished successfully.
|
||||
|
||||
For example:
|
||||
|
||||
|
||||
Reference in new issue
Block a user