Method
__init__
(self, *args, faults, direct, attempts, tasks, caller_loop)
Source from the content-addressed store, hash-verified
| 1931 | TLS_RECORD_HEADER_SIZE = 5 |
| 1932 | |
| 1933 | def __init__(self, *args, faults, direct, attempts, tasks, caller_loop): |
| 1934 | super().__init__(*args) |
| 1935 | self.faults = faults |
| 1936 | self.direct = direct |
| 1937 | self.attempts = attempts |
| 1938 | self.tasks = tasks |
| 1939 | self.caller_loop = caller_loop |
| 1940 | |
| 1941 | async def prepare(self): |
| 1942 | """Return True to forward traffic, False to close a faulted attempt.""" |
Tested by
no test coverage detected