(self)
| 188 | self._data_callback = data_callback |
| 189 | |
| 190 | async def show(self) -> Result[ValueT]: |
| 191 | if self._data_callback: |
| 192 | result = await LoadingScreen[ValueT]( |
| 193 | header=self._header, |
| 194 | data_callback=self._data_callback, |
| 195 | ).run() |
| 196 | return result |
| 197 | else: |
| 198 | _ = await LoadingScreen( |
| 199 | timer=self._timer, |
| 200 | header=self._header, |
| 201 | ).run() |
| 202 | return Result.true() |
| 203 | |
| 204 | |
| 205 | class Table[ValueT]: |
nothing calls this directly
no test coverage detected