@@ -285,13 +285,13 @@ for products in pages:
285
285
print (products)
286
286
```
287
287
288
- ## Event Feeds
288
+ ## Event feeds
289
289
290
- The driver supports [ Event Feeds ] ( https://docs.fauna.com/fauna/current/learn/cdc/#event-feeds ) .
290
+ The driver supports [ event feeds ] ( https://docs.fauna.com/fauna/current/learn/cdc/#event-feeds ) .
291
291
292
- ### Request an Event Feed
292
+ ### Request an event feed
293
293
294
- An Event Feed asynchronously polls an [ event source] ( https://docs.fauna.com/fauna/current/learn/cdc/#create-an-event-source )
294
+ An event feed asynchronously polls an [ event source] ( https://docs.fauna.com/fauna/current/learn/cdc/#create-an-event-source )
295
295
for paginated events.
296
296
297
297
To get an event source, append `` eventSource() `` or `` eventsOn() `` to a
@@ -327,7 +327,7 @@ You can also pass a query that produces an event source directly to ``feed()``:
327
327
client.feed(query)
328
328
```
329
329
330
- ### Iterate on an Event Feed
330
+ ### Iterate on an event feed
331
331
332
332
`` feed() `` returns an iterator that emits pages of events. You can use a
333
333
generator expression to iterate through the pages:
@@ -364,11 +364,11 @@ Alternatively, you can iterate through events instead of pages with
364
364
# # ...
365
365
```
366
366
367
- The Event Feed iterator stops when there are no more events to poll.
367
+ The event feed iterator stops when there are no more events to poll.
368
368
369
369
### Error handling
370
370
371
- If a non-retryable error occurs when opening or processing an Event Feed , Fauna
371
+ If a non-retryable error occurs when opening or processing an event feed , Fauna
372
372
raises a `` FaunaException `` :
373
373
374
374
``` python
@@ -422,7 +422,7 @@ processing. For example:
422
422
print (' error ocurred with event processing: ' , e)
423
423
```
424
424
425
- ### Event Feed options
425
+ ### Event feed options
426
426
427
427
The client configuration sets default options for the `` feed() `` method.
428
428
@@ -441,14 +441,14 @@ options = FeedOptions(
441
441
client.feed(fql(' Product.all().eventSource()' ), options)
442
442
```
443
443
444
- ## Event Streaming
444
+ ## Event streams
445
445
446
- The driver supports [ Event
447
- Streaming ] ( https://docs.fauna.com/fauna/current/reference/cdc/#event-streaming ) .
446
+ The driver supports [ event
447
+ streams ] ( https://docs.fauna.com/fauna/current/reference/cdc/#event-streaming ) .
448
448
449
449
### Start a stream
450
450
451
- An Event Stream lets you consume events from an [ event
451
+ An event stream lets you consume events from an [ event
452
452
source] ( https://docs.fauna.com/fauna/current/learn/cdc/#create-an-event-source )
453
453
as a real-time subscription.
454
454
0 commit comments