Skip to content

Commit 04a0950

Browse files
committed
primitives/encoder.py: Add async iterator protocol.
1 parent 33167c3 commit 04a0950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v3/primitives/encoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def __aiter__(self):
8484

8585
def __anext__(self):
8686
await self._trig.wait()
87-
self.trig.clear()
87+
self._trig.clear()
8888
return self._cv
8989

9090
def value(self):

0 commit comments

Comments
 (0)