(self)
| 128 | ) |
| 129 | |
| 130 | async def render(self) -> LayoutUpdateMessage: |
| 131 | if REACTPY_ASYNC_RENDERING.current: |
| 132 | return await self._parallel_render() |
| 133 | else: # nocov |
| 134 | return await self._serial_render() |
| 135 | |
| 136 | async def _serial_render(self) -> LayoutUpdateMessage: # nocov |
| 137 | """Await the next available render. This will block until a component is updated""" |