Skip to content

Commit

Permalink
version bump to v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pdeziel committed Aug 17, 2023
1 parent c602325 commit 8c45229
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Subscribe to one or more topics by providing the topic name(s) or ID(s).
```python
async for event in client.subscribe("weather"):
print("Received event with data: {}".format(event.data))
event.ack()
await event.ack()
```

## Advanced Usage
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Use `Ensign.subscribe()` to subscribe to one or more topics.
```python
async for event in client.subscribe("weather", "forecast"):
print(event)
event.ack()
await event.ack()
```

```
Expand All @@ -87,7 +87,7 @@ Event:
committed: 2023-08-07 17:24:42.930920
```

The `Event` object contains methods for acking and nacking an event back to the Ensign service. Subscribers should normally call `Event.ack()` once the event has been successfully consumed, or `Event.nack()` if the event needs to be redelivered.
The `Event` object contains coroutines for acking and nacking an event back to the Ensign service. Subscribers should normally invoke `Event.ack()` once the event has been successfully consumed, or `Event.nack()` if the event needs to be redelivered.

### Design patterns

Expand Down
2 changes: 1 addition & 1 deletion pyensign/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

__version_info__ = {
"major": 0,
"minor": 8,
"minor": 9,
"micro": 0,
"releaselevel": "beta",
"serial": 0,
Expand Down

0 comments on commit 8c45229

Please sign in to comment.