Skip to content

Commit

Permalink
feat: add __aiter__ method in SubscriberProto
Browse files Browse the repository at this point in the history
  • Loading branch information
ApostolFet committed Jan 28, 2025
1 parent 4fc7dc3 commit ab10944
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions faststream/_internal/subscriber/proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,7 @@ def add_call(
middlewares_: Sequence["SubscriberMiddleware[Any]"],
dependencies_: Iterable["Dependant"],
) -> Self: ...

@abstractmethod
def __aiter__(self) -> StreamMessage[MsgType]:
...

0 comments on commit ab10944

Please sign in to comment.