(self)
| 51 | |
| 52 | @property |
| 53 | def value(self) -> T: |
| 54 | while not self._future.done(): |
| 55 | self._sync_base._dispatcher_fiber.switch() |
| 56 | asyncio._set_running_loop(self._sync_base._loop) |
| 57 | exception = self._future.exception() |
| 58 | if exception: |
| 59 | raise exception |
| 60 | return cast(T, mapping.from_maybe_impl(self._future.result())) |
| 61 | |
| 62 | def _cancel(self) -> None: |
| 63 | self._future.cancel() |
nothing calls this directly
no test coverage detected