Skip to content

Commit

Permalink
[DOCS-3362] docs: Fix typo in streaming example (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig authored Oct 28, 2024
1 parent 239c07b commit 103a0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ source](https://docs.fauna.com/fauna/current/learn/cdc/#create-an-event-source)
to `EventStreamAsync()`:

```csharp
var stream = await client.EventStreamAsync<Person>(FQL($"Person.all().toStream"));
var stream = await client.EventStreamAsync<Person>(FQL($"Person.all().eventSource()"));
await foreach (var evt in stream)
{
Console.WriteLine($"Received Event Type: {evt.Type}");
Expand Down

0 comments on commit 103a0da

Please sign in to comment.