Skip to content

Commit

Permalink
Merge branch 'feat/pulse-dgs' of github.com:prisma/docs into feat/pul…
Browse files Browse the repository at this point in the history
…se-dgs
  • Loading branch information
nikolasburk committed May 24, 2024
2 parents 83723a6 + d3e6976 commit 8778a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/400-pulse/400-api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ const subscription = await prisma.user.subscribe({

## `stream()` vs `subscribe()`

For the majority of use cases, `stream()` is the recommended option because can provide guarantees for events to arrive on the consumer-side. Note though that because `stream()` requires event persistence to be enabled, this has implications for [pricing](https://www.prisma.io/pricing).
For the majority of use cases, `stream()` is the recommended option because it can provide guarantees for events to arrive on the consumer-side. Note though that because `stream()` requires event persistence to be enabled, this has implications for [event storage and costs](https://www.prisma.io/pricing).

See a [more detailed comparison](/pulse/database-events#event-delivery-semantics-in-prisma-pulse).

Expand Down

0 comments on commit 8778a2f

Please sign in to comment.