Skip to content

Commit

Permalink
Merge pull request #205 from Flared/mathgl/batching_topic_public
Browse files Browse the repository at this point in the history
batching topic: Redirect publish to wrapped topic.
  • Loading branch information
mlefebvre authored Jun 21, 2022
2 parents be4382d + f8db952 commit 8510023
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/saturn_engine/worker/topics/batching.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,6 @@ async def close(self) -> None:
self.force_done = True
await self.topic.close()
await self.task_group.close()

async def publish(self, message: TopicMessage, wait: bool) -> bool:
return await self.topic.publish(message, wait=wait)

0 comments on commit 8510023

Please sign in to comment.