Skip to content

Commit

Permalink
Update node.js/outbox.md
Browse files Browse the repository at this point in the history
Co-authored-by: René Jeglinsky <[email protected]>
  • Loading branch information
David-Kunz and renejeglinsky authored Jan 22, 2024
1 parent 20c2e33 commit 38fcdca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node.js/outbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ await outboxed.send('someEvent', { some: 'message' }) // asynchronous
```

::: tip
You still need to `await` these operations, because messages might be stored in a database first, inside your main transaction.
You still need to `await` these operations. Then the messages are stored in the database, together with the main transaction.
:::

The `cds.outboxed` function can also be called with optional configuration options.
Expand Down

0 comments on commit 38fcdca

Please sign in to comment.