Method
__init__
(
self, protocol: BaseProtocol, limit: int, *, loop: asyncio.AbstractEventLoop
)
Source from the content-addressed store, hash-verified
| 737 | """ |
| 738 | |
| 739 | def __init__( |
| 740 | self, protocol: BaseProtocol, limit: int, *, loop: asyncio.AbstractEventLoop |
| 741 | ) -> None: |
| 742 | super().__init__(loop=loop) |
| 743 | self._size = 0 |
| 744 | self._protocol = protocol |
| 745 | self._limit = limit * 2 |
| 746 | |
| 747 | def feed_data(self, data: _T, size: int = 0) -> None: |
| 748 | super().feed_data(data, size) |
Callers
nothing calls this directly
Tested by
no test coverage detected